4 replies [Last post]
yukija's picture
Offline
Joined: 08/28/2010
Juice: 99
Was this information Helpful?

how to show a discount price in red color with the original price?meaning original price and discounted price will be showinf one after another. here is the example:
http://www.gap.com/browse/category.do?cid=5156

in the second row u will se red color price. thanks.

yukija's picture
Offline
Joined: 08/28/2010
Juice: 99
yukija wrote: how to show a
yukija wrote:

how to show a discount price in red color with the original price(strikethrough)?meaning original price and discounted price will be showinf one after another. here is the example:
http://www.gap.com/browse/category.do?cid=5156

in the second row u will se red color price. thanks.

bkosborne's picture
Offline
Joined: 04/28/2010
Juice: 184
Re: yukija wrote: how to show a

Add a list price for the product. Then two prices should show. Use CSS to modify the list price to look like the original price with a strikethru and the sell price as the discount price. Install the devel module and use

<?php
dpm
(get_defined_vars());
?>

in your node-product.tpl.php to see what variables are available to use. List price and Sell price should both be available.

yukija's picture
Offline
Joined: 08/28/2010
Juice: 99
Re: Re: yukija wrote: how to show a

is ther any easy solution?anywat tnx

artatac's picture
Offline
Joined: 06/11/2009
Juice: 79
Re: Re: Re: yukija wrote: how to show a

I did this by creating a cck text field eg
http://venturacottage.com/theme/add-event-direct-each-date-month-calendar

And then styling with CSS