![]() |
Display Market Price on Product Detail page
Can someone advise how to Display Market Price on Product Detail page as well as the discounted price as Xcart by default only displays the discounted price, thanks.
|
Re: Display Market Price on Product Detail page
{$product.list_price} - Market price
{$product.taxed_price} - Taxed Price Just add this varible in the file skin1/customer/main/product.tpl |
Re: Display Market Price on Product Detail page
That is great, but I should explain further: It should only display the Market price (And Label) if the sell price is not the same. And if it is the same, then only show Sell Price. Please advise....
|
Re: Display Market Price on Product Detail page
I have exactly the same problem, anyone can help?
|
Re: Display Market Price on Product Detail page
Quote:
X-cart does this by default. In admin - general settings - product options options tr checking the "The dynamic updating of the Save Money label depending on the selected product options is enabled:" and see if that does it. It should display "Market Price" and a "Save %" graphic if the "price" is less than the "market price", or only the "price" if they are the same or "market price" is less than "price". This is determined by the following code ( I pulled mine from product.tpl version 4.1.11 but yours should be the same). Also, products.tpl and products_t.tpl should have something similar if not the same code. This displays "Market Price" and "Price". Code:
{if $product.taxed_price ne 0 || $variant_price_no_empty} Code:
<table width="60" cellspacing="1" cellpadding="2"> |
All times are GMT -8. The time now is 10:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.