X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   MSRP Strikethrough and "you save" % display (https://forum.x-cart.com/showthread.php?t=5009)

rytr33 10-30-2003 04:54 AM

MSRP Strikethrough and "you save" % display
 
Our site is for distributors only and we want to show the MSRP and the wholesale price, nothing more. Normally, a product is displayed with a MSRP which is striked through, the regular price, and a "you save" % below it. Does anyone know how I can get rid of the strikethrough but still show the MSRP. And can I get rid of the "you save" % display all together? Thanks in advance.

B00MER 11-02-2003 08:53 AM

customer/main/products.tpl (or if your using column's products_t.tpl):

Code:

<font class=MarketPrice>{$lng.lbl_market_price}: <s>
{include file="currency.tpl" value=$products[product].list_price}
</s></font>


Theres the strikethrough MarketPrice.

A few lines below this you'll find:

Code:

{if $products[product].list_price gt 0 and $products[product].price lt $products[product].list_price}, save {$discount}%{/if}

Thers the "you save %" code.

hth. ;)

rytr33 11-03-2003 04:27 AM

Thanks, Boomer.


All times are GMT -8. The time now is 05:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.