![]() |
Displaying a title image for reduced price items
Hi,
I was wondering if there's a way to do the following: When an item's price is reduced, a small image that says reduced is appended to the beginning of the product title wherever it appears. Ideally, this would only last a certain amount of time after the reduction took place. If it's not possible to do this, can I assume an extra field could be added for reduced items, that, if checked, could add this image indefinitely (until unchecked) with a simple logical statement? Thanks, Jeremy |
Re: Displaying a title image for reduced price items
Take a look at the code for the little 'save xx%' icon on the product detail page. You could use something similar to have it show an image in the product title.
|
Re: Displaying a title image for reduced price items
Hi,
I've tried adding this to the title of the item in customer/main/products.tpl: Code:
I've created an extra field called Reduced. The problem I'm facing now is how to get the logic to work. I've tried the following: -Set the default Reduced to N, and the expression ne "N" This caused every item to show "*Reduced*" including the one I changed from N to y. -Set the default Reduced to nothing, using the code above. This doesn't display *Reduced* for any item, even if I put text in the field. Do you have any suggestions? Thanks! Jeremy |
| All times are GMT -8. The time now is 12:06 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.