Jump to content

Comparason Order form


snazy2000

Recommended Posts

I have fixed the problem :)

 

{foreach key=num item=product from=$products}

{if $num == 3}
{if count($products.0.features)}
<div class="prodtablecol">
<div class="featureheader"></div>
{foreach from=$products.0.features key=feature item=value}
<div class="feature">{$feature}</div>
{/foreach}
</div>
{/if}
{/if}

<div class="prodtablecol">
<div class="{if $num % 2 == 0}a{else}b{/if}header{if !count($products.0.features)}expandable{/if}">
<span class="title">{$product.name}</span><br />
{if $product.paytype eq "free"}
{$LANG.orderfree}
{elseif $product.paytype eq "onetime"}
{$product.pricing.onetime} {$LANG.orderpaymenttermonetime}
{else}
{$product.pricing.monthly}
{/if}<br />
</div>
{foreach from=$product.features key=feature item=value}

<div class="{if $num % 2 == 0}a{else}b{/if}feature{cycle name=$product.pid values="1,2"}">{$value}</div>
{foreachelse}
<div class="{if $num % 2 == 0}a{else}b{/if}feature{cycle name=$product.pid values="1,2"}">{$product.description}</div>
{/foreach}
<div class="{if $num % 2 == 0}a{else}b{/if}feature{cycle name=$product.pid values="1,2"}">
<br />
<input type="button" value="{$LANG.ordernowbutton} »"{if $product.qty eq "0"} disabled{/if} onclick="window.location='{$smarty.server.PHP_SELF}?a=add&pid={$product.pid}'" class="cartbutton" />
<br /><br />
</div>
</div>
{if !count($products.0.features) && ($num+1) % 5 == 0}<div class="clear"></div>
{/if}
{/foreach}

Link to comment
Share on other sites

  • 3 months later...

I have been using the comparison theme as well and it seemed great compared to the others but I can't get it to format the way I think it should.

I can't seem to figure out the programming that tells it to chop off the descriptions as it does not display everything that I have typed in for the descriptions.

I am having the problem that the CSS is not allowing the prices to show.

https://www.cutabovehost.com/sales/cart.php

Getting rather frustrating.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated