Guest Posted August 16, 2006 Share Posted August 16, 2006 I'm using specials.php for sale items and also as a kinda featured items page. This works fine for me and is much easier than having a seperate featured items box. However, the problem is that all pages have a normal price (crossed through) and sale price (in red). What code would I need to only show the first price if the sale price is cheaper than the normal product price? Link to comment Share on other sites More sharing options...
Micke Posted August 16, 2006 Share Posted August 16, 2006 How do you do this? When it's a featured product, do you type in the same price as usual and get this result? ?200 ?200 //Micke Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2006 Share Posted August 16, 2006 However, the problem is that all pages have a normal price (crossed through) and sale price (in red). What code would I need to only show the first price if the sale price is cheaper than the normal product price? you need to edit each script separately, and modify the output for the specials price if you want it to show like normal. How do you do this?When it's a featured product, do you type in the same price as usual and get this result? ?200 ?200 You use the specials table to retrieve the specials price and then you output using the <s></s> html tags for the overstrike. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.