Hi, I add this string on my templates/orderforms/premium_comparison/products.tpl file to show those price instead of monthly price and the string dosn't work.
Does someone can see what I'm doing wrong?
{if $product.pricing.rawpricing.triennially neq -1}<span>{($product.pricing.rawpricing.triennially/36)|string_format:"%.2f"}</span>/mo{else}{$product.pricing.rawpricing.biennially neq -1}<span>{($product.pricing.rawpricing.biennially/24)|string_format:"%.2f"}</span>/mo{else}{$product.pricing.rawpricing.annually neq -1}<span>{($product.pricing.rawpricing.annually/12)|string_format:"%.2f"}</span>/mo{else}{$product.pricing.minprice.cycleText}{/if}
If I use only this string is working
{if $product.pricing.rawpricing.triennially neq -1}<span>{($product.pricing.rawpricing.triennially/36)|string_format:"%.2f"}</span>/mo{else}{$product.pricing.minprice.cycleText}{/if}
There is a way to put annual, biennal and triennial together on the string?
thanks
Eric
- - - Updated - - -
This replace the line 85 onthe file premium_comparison/products.tpl