X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Adding additional attribute type to products? (https://forum.x-cart.com/showthread.php?t=74583)

jake.middleton 10-26-2016 01:39 PM

Adding additional attribute type to products?
 
1 Attachment(s)
Hello! I would like to add an additional type of attribute to my X-Cart 5.3.1.4 installation and I'm wondering if it's possible or not.

X-Cart ships with three attribute types of Plain field, Textarea, and Yes/No. I would like to add a type that is a multi-value option which allows you to upload images for each option instead of just text. This would be great for products where you need to select the color you want to receive and would provide a better visual than just color names, especially when some of the colors we offer are "Sage", "Orchid", etc. I've attached an image that illustrates what I'm thinking and how it would ideally be displayed on the product page.

Is this possible to do through a module, or would I need to modify classes\XLite\Model\Attributes.php? Also, what all would need to be modified in order to make this a reality? My company is looking to see how much development time would be required for this project before deciding on moving forward or not.

Thanks, hopefully someone even might have done this before!

qualiteam 11-01-2016 08:20 PM

Re: Adding additional attribute type to products?
 
I believe you are looking for this module:
https://market.x-cart.com/addons/color-swatches.html

jake.middleton 11-02-2016 10:47 AM

Re: Adding additional attribute type to products?
 
Quote:

Originally Posted by qualiteam
I believe you are looking for this module:
https://market.x-cart.com/addons/color-swatches.html


That's the one! I had no idea that module existed and didn't notice it when I searched the marketplace. Thanks!


All times are GMT -8. The time now is 04:02 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.