How do I make %7 product discounts ?
dont 7% ok : %7
[quote name='keskur' timestamp='1397671284' post='181822']
How do I make %7 product discounts ?
dont 7% ok : %7
[/quote]
Please clarify your request. Thanks
Hi Keshur,
You mean in the category page, or product page, at the price list, where it show`s: [color=#282828][font=arial, verdana, tahoma, sans-serif] Save 7% on the category page or List price:$xxxxx / You save: $xxx (7%) in the product page. Go to …/design/themes/basic/templates/blocks/products_templates/[/font][/color]default_template.tpl .
And search for:
{if $product.list_discount_prc}
{strip}
{__("save_discount")} {$product.list_discount_prc}%
{/strip}
{/if}
and replace with:
{if $product.list_discount_prc}
{strip}
% {__("save_discount")} {$product.list_discount_prc}
{/strip}
{/if}
This will work for products page.
[quote name='florinsurdu' timestamp='1397747649' post='181891']
Hi Keshur,
You mean in the category page, or product page, at the price list, where it show`s: [color=#282828][font=arial, verdana, tahoma, sans-serif] Save 7% on the category page or List price:$xxxxx / You save: $xxx (7%) in the product page. Go to …/design/themes/basic/templates/blocks/products_templates/[/font][/color]default_template.tpl .
And search for:
{if $product.list_discount_prc}
{strip}
{__("save_discount")} {$product.list_discount_prc}%
{/strip}
{/if}
and replace with:
{if $product.list_discount_prc}
{strip}
% {__("save_discount")} {$product.list_discount_prc}
{/strip}
{/if}
This will work for products page.
[/quote]
Anybody knows where exactly make changes to products_multicolumns layout?
[color=#282828][font=arial, verdana, tahoma, sans-serif]/blocks/products_templates/[/font][/color]default_template.tpl
/list_templates/product_list.tpl
and other doesnt work for me, all cache cleaned and repository updated, but i cant find true template to make changes.
Thanks for you help guys.
And a little mistake in your example.
This will result: N% Text
{if $product.list_discount_prc}
{strip}
{$product.list_discount_prc}% {__("save_discount")}
{/strip}
{/if}
[quote name='alex-pro' timestamp='1410461333' post='192010']
Anybody knows where exactly make changes to products_multicolumns layout?
[color=#282828][font=arial, verdana, tahoma, sans-serif]/blocks/products_templates/[/font][/color]default_template.tpl
/list_templates/product_list.tpl
and other doesnt work for me, all cache cleaned and repository updated, but i cant find true template to make changes.
Thanks for you help guys.
And a little mistake in your example.
This will result: N% Text
{if $product.list_discount_prc}
{strip}
{$product.list_discount_prc}% {__("save_discount")}
{/strip}
{/if}
[/quote]
Check this file
design/themes/THEME/templates/blocks/list_templates/grid_list.tpl