| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Anyone know a mod that applies images based on custom properties? | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
Anyone know a mod that applies images based on custom properties?
Hi,
I want to display images down the right hand side of the product details page, based on specific properties of a product. E.g. if it has Widget A, show the Widget A image, etc. Is there there another way other than manually adding the html to do this on each and every product description? For example, I'd like to export a list of products, with columns or some parameter for options, specify options that apply to each product in an nice Excel spreadsheet, then upload the lot and have the option specific images displayed appropriately. Anyone know a mod that does this? Ta.
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
#2
|
|||||||
|
|||||||
Re: Anyone know a mod that applies images based on custom properties?
you could add a new field to the products table, have it as a single char field, and set up IF statements in skin1/customer/main/product.tpl to display images per the char setting
You already know how to add a field to the import/export, too |
|||||||
#3
|
|||||||
|
|||||||
Re: Anyone know a mod that applies images based on custom properties?
I *could* hack around with a log of things. Although if I was going to add a single column, it would have to be a 32-bit integer and have a bit per image. :p
However I was looking for a nice mod that had done the hard work for me. E.g. it would also need an admin screen to setup the html. In fact, it could be a complete html template driven thing, no real need to restrict it to images at all. So if you specify option A, you get all of option A html. Then there's issues of updating the product edit screens to allow selection through the UI etc.
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
#4
|
|||||||
|
|||||||
Re: Anyone know a mod that applies images based on custom properties?
updating product admin screen is pretty simple, i could post some sample code for that.
regarding what you're talking about, sounds like you're essentially looking for an Ad Banner system, except hijacked for use with Products (and without the random display) |
|||||||
#5
|
|||||||
|
|||||||
Re: Anyone know a mod that applies images based on custom properties?
I'll just add it to the list of mods i'll one day write.
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
|
|||
X-Cart forums © 2001-2020
|