Jump to content

Help on Prices-drop.php


Recommended Posts

Thanks!

 

anyway i have another issue. Do you know do i edit the words when I have a product on discount? for instance, in the jpeg file... the "1 S$" will appear... i wish to remove this or would like to edit it to become ""S$1 off"....

 

Pricesdrop.jpg

 

i have tried looking at productlist.tpl but could not understand the code.. the code is

  <div class="right_block">
					    <div class="left_price">
					    {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="on_sale">{l s='On sale!'}</span>
	   {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount">{l s='Reduced price!'}</span>{/if}
	   {if isset($product.online_only) && $product.online_only}<span class="online_only">{l s='Online only!'}</span>{/if}							
									    {if $product.specific_prices.reduction_type == 'percentage'}
											    <p class="discount">{$product.specific_prices.reduction*100}{l s='% off' mod='homefeatured'}</p>
									    {/if} 
									    {if  $product.specific_prices.reduction_type == 'amount'} 
											    <p class="discount">{$product.specific_prices.reduction|string_format:"%.2f"} {$symabolCurrency}</p>
									    {/if}

 

 

appreciate any help.

 

cheers..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...