View Single Post
  #3  
Old 09-02-2008, 07:14 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Edit Discount Percentage

Quote:
Originally Posted by herniarelievers
Can someone tell me where to edit the font color and size of the discount percentage displayed next to the "Save" text within the featured products. I have searched but can't seem to find it. Thanks.

In the file "skin1/customer/main/products.tpl", lines:

PHP Code:
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</font><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if} 

or in the file "skin1/customer/main/products_t.tpl" next lines (if option "Display products list in multiple columns (1-3) (leave empty to use standard format):" not NULL):


PHP Code:
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if} 

Discounts message is not determined by class, you have to do it himself,
for exmpl. add some lines in tenplate file: ....<span class="discount_pr">{$lng.lbl_save_price} {$discount}%</span>...., and determine description for this class in to css file.
Reply With Quote