keneso Posted July 18, 2011 Share Posted July 18, 2011 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 18, 2011 WHMCS Support Manager Share Posted July 18, 2011 It takes the product's pricing from Setup > Products/Services > Edit > Pricing tab. 0 Quote Link to comment Share on other sites More sharing options...
keneso Posted July 18, 2011 Author Share Posted July 18, 2011 Thank you. I have put the prices in the pricing tab. Could it be that I haven't put the monthly price, having it set to -1.00? 0 Quote Link to comment Share on other sites More sharing options...
keneso Posted July 19, 2011 Author Share Posted July 19, 2011 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} 0 Quote Link to comment Share on other sites More sharing options...
kiwipearls Posted June 21, 2012 Share Posted June 21, 2012 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> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.