View Single Post
  #2  
Old 11-06-2008, 05:04 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Adding "Regular Price" + "Sale Price" to Product Detail Pages

Try adding...
Code:
{if $discount gt 0} <tr><td><font class="MarketPrice">{$lng.lbl_market_price}: <s> {include file="currency.tpl" value=$products[product].list_price} </s></font></td></tr> {/if}

To your product.tpl directly above where it says
Code:
<tr><td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</td>

So that it looks like
Code:
{if $discount gt 0} <tr><td><font class="MarketPrice">{$lng.lbl_market_price}: <s> {include file="currency.tpl" value=$products[product].list_price} </s></font></td></tr> {/if} <tr><td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</td>

It should do what you want, but I have not tested it.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote