View Single Post
  #12  
Old 05-15-2014, 08:12 PM
 
CB Tan CB Tan is offline
 

Advanced Member
  
Join Date: Aug 2012
Posts: 37
 

Default Re: Show Market price (list price) on product detail page

I am confused too gozindagi.

Back to the original topic.
But in the newer version, it is no longer in product.tpl
but this appear in product_details.tpl

<tr class="separator">
<td colspan="3">&nbsp;</td>
</tr>

{if $product.appearance.has_market_price and $product.appearance.market_price_discount gt 0}
<tr>
<td class="property-name product-taxed-price">{$lng.lbl_market_price}:</td>
<td class="property-value product-taxed-price" colspan="2">{currency value=$product.list_price}</td>
</tr>
{/if}

<tr>
<td class="property-name product-price" valign="top">{$lng.lbl_our_price}:</td>
<td class="property-value" valign="top" colspan="2">
{if $product.taxed_price ne 0 or $variant_price_no_empty}
<span class="product-price-value">{currency value=$product.taxed_price tag_id="product_price"}</span>
<span class="product-market-price">{alter_currency value=$product.taxed_price tag_id="product_alt_price"}</span>
{if $product.taxes}
<br />{include file="customer/main/taxed_price.tpl" taxes=$product.taxes}
{/if}

{if $active_modules.Klarna_Payments}
{include file="modules/Klarna_Payments/monthly_cost.tpl" elementid="pp_conditions`$product.productid`" monthly_cost=$product.monthly_cost tag="tr"}
{/if}

{else}
<input type="text" size="7" name="price" />
{/if}
</td>
</tr>

Should I just add the same code as above for the %save and list price
into /customer/main/products_t.tpl

{if $product.appearance.has_price}

<div class="price-row">
<span class="price-value">{currency value=$product.taxed_price sup="Y"}</span>
<span class="market-price">{alter_currency value=$product.taxed_price}</span></br>
<span class="list-price">{alter_currency value=$product.list_price}SAVE</span>
__________________
X-Cart DB Version:Migrated to 4.7.9
Reply With Quote