Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Anyone know a mod that applies images based on custom properties?

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 06-06-2008, 04:20 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default 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
Reply With Quote
  #2  
Old 06-06-2008, 04:27 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #3  
Old 06-06-2008, 04:32 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default 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
Reply With Quote
  #4  
Old 06-06-2008, 05:01 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #5  
Old 06-06-2008, 06:02 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:44 PM.

   

 
X-Cart forums © 2001-2020