| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Displaying a title image for reduced price items | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
Version 4.0.17/4.0.18 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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
__________________
Version 4.0.17/4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|