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

special prices with line through old price

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-09-2003, 11:47 AM
 
grizjr82 grizjr82 is offline
 

Newbie
  
Join Date: Dec 2002
Posts: 4
 

Default 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
Reply With Quote
  #2  
Old 08-01-2003, 09:59 AM
 
iCARus iCARus is offline
 

Member
  
Join Date: May 2003
Location: Slovenia
Posts: 21
 

Default

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
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 03:06 AM.

   

 
X-Cart forums © 2001-2020