Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Show Market price (list price) on product detail page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 02-25-2014, 06:49 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

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

Can you not update the price on the page you show above? Can you not update the price on the product page? I'm confused, this should be very easy.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:38 AM.

   

 
X-Cart forums © 2001-2020