Jump to content

price in the comparison orderform


keneso

Recommended Posts

Hi, I am using the comparison orderform, and I see there is no price showing in the products comparison page (the page with the columnar product comparison).

Have I missed something, or how can I make the price display under the product name?

 

Thank you

Link to comment
Share on other sites

This is for others if they encounter the same problem:

From my understanding the above comment

Could it be that I haven't put the monthly price, having it set to -1.00?
was correct.

 

On line 50 of orderforms/comparison/products.tpl

change

{$product.pricing.monthly}

to

{$product.pricing.annually}

Link to comment
Share on other sites

  • 11 months later...

I too had this problem with the comparison template. But because I wanted all pricing options displayed, I copied over the code from the modern template to the comparison template.

 

orderforms/comparison/products.tpl

 

My pricing DIV now looks like this:

 

<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.bid}

{$LANG.bundledeal}<br />

{if $product.displayprice}<span class="pricing">{$product.displayprice}</span>{/if}

{else}

{if $product.pricing.hasconfigoptions}{$LANG.startingfrom}<br />{/if}

<span class="pricing">{$product.pricing.minprice.price}</span><br />

{if $product.pricing.minprice.cycle eq "monthly"}

{$LANG.orderpaymenttermmonthly}

{elseif $product.pricing.minprice.cycle eq "quarterly"}

{$LANG.orderpaymenttermquarterly}

{elseif $product.pricing.minprice.cycle eq "semiannually"}

{$LANG.orderpaymenttermsemiannually}

{elseif $product.pricing.minprice.cycle eq "annually"}

{$LANG.orderpaymenttermannually}

{elseif $product.pricing.minprice.cycle eq "biennially"}

{$LANG.orderpaymenttermbiennially}

{elseif $product.pricing.minprice.cycle eq "triennially"}

{$LANG.orderpaymenttermtriennially}

{/if}

{/if}<br />

</div>

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