![]() |
Our Price from
Hi,
Searched all through the forum and can't find the answer. Does anyone know how to make the product listing page (products_list.tpl) say Our Price for products without options and Our Price From for any products that have options? Many thanks in advance Dan |
Re: Our Price from
Find the following
Code:
{if $product.appearance.has_price} Code:
<span class="price">{if $product.is_variants}{$lng.lbl_priced_from}:{else}{$lng.lbl_our_price}:{/if}</span> <span class="price-value">{include file="currency.tpl" value=$product.taxed_price}</span> |
Re: Our Price from
Thank you very much.
I had to alter the code slightly as have made quite a few changes to templates but your code worked perfectly with a little bit of fine tuning. Thanks again it is appreciated. In case anyone wants the code put this into products_listing.tpl <span class="price">{if $active_modules.Special_Offers ne "" && $product.use_special_price ne ""} special-price-row}{else}{if $product.is_variants}Price from:{else}{$lng.lbl_our_price}:{/if}{/if}</span> I used Price from instead of making a new language label but you can make one if required. Regards Dan |
All times are GMT -8. The time now is 01:14 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.