![]() |
List Market Price on Product Detail Page
Hi,
I have X-Cart 4.0 gold, I would like to add "Maket Price" above "Sale Price", how to do it? Thank you in advance Bill Shu BiX Computers |
sorry, forgot to tell which page
Sorry, I mean in product detail page, I like to list "Market Price" above "Sale Price"
Thanks. Bill Shu |
Did you ever figure this out? Im looking to do the same thing.
|
I added following lines on product.tpl:
<tr><td width="30%> <FONT class="MarketPrice">{$lng.lbl_market_price}: </td><td><S> ${$product.list_price} </S></FONT></td></tr> {/if} The line was added before: <tr><td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</td> <td valign="top"> Bill Shu |
Sorry, I missed one line, the complete added lines are:
{if $product.list_price gt 0} <tr><td width="30%> <FONT class="MarketPrice">{$lng.lbl_market_price}: </td><td><S> ${$product.list_price} </S></FONT></td></tr> {/if} This way, if you don't have a list price, then it will not show on the page. Bill Shu |
Quote:
Thanks That worked. Any idea how I could make the font bigger and or have it bold just like the Price. |
market price in prod detail
Thanks for this mod, I just used it and worked great :)
|
Thanks from me !
Just to add my thanks - it's neat and shows the clearly the benefit of the price you are offering the product at, compared to the retail price - just a bit more psychology to help with the sale ! :D
|
worked a treat thanks
to make it bold or bigger just find marketprice in skin1.css file and change it to you liking does anyone know how to stop it showing this price as crossed out??? id like to remove the strike thru from the price |
Re: List Market Price on Product Detail Page
I used this code on my product.tpl file, but the problem that I ran into is that it always displays the market price even if the product isn't on sale. How would you make it appear only if the product is listed with a sale price?
|
All times are GMT -8. The time now is 07:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.