View Single Post
  #1  
Old 09-11-2009, 07:24 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Select category for discount pricing

I have a closeouts (root category) and I need the correct variable to select the root category for my closeouts and display the Market price discount for any product in that category in the product.tpl.
I tried
{if $product.price ne 0 && $cat="78"}
<font class="MarketPrice">{$lng.lbl_market_price}:{math equation="100-(price/lprice)*100" price=$product.taxed_price lprice=$product.list_price format="%3.0f" assign=discount}
&nbsp;<span id="save_percent"><font class="closeoutsdiscount">{ $discount }</span>%</font>

What variable would I use for the root category to select in my product.tpl?
__________________
______________
version 4.1.9 Gold
Reply With Quote