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)
-   -   special prices with line through old price (https://forum.x-cart.com/showthread.php?t=3524)

grizjr82 07-09-2003 11:47 AM

special prices with line through old price
 
I would like to set up products.tpl and product.tpl to display a special price in red with the other price crossed out. If the special is not entered in, it will just display the special price, but keep the original price. Another input field also must be incorporated in the product_modify.php. Has anyone ever done this before? Please share some info.

Thanks for your time and patience

iCARus 08-01-2003 09:59 AM

this is for you:
http://forum.x-cart.com/viewtopic.php?t=4602&highlight=displaying+2+prices

For line thru price, make a CSS stile for it like this:
Quote:

.MarketPrice {
FONT-SIZE: 11px;
text-decoration: line-through;
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
}

Regards,
iCARus


All times are GMT -8. The time now is 06:50 AM.

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