Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

“If - Then” Attribute question - Please Help! 
 
macguy
Jr. Member
 
Total Posts:  15
Joined:  2009-02-17
 

Is it possible to create an attribute or attribute set that appears only if a previous attribute is selected?  We are selling a create-your-own style outfit where the user must choose 2 pieces (top and bottom) before they can place the order for the outfit. 

- Top piece has 4 options (A, B, C, D) with color and size options.
- Bottom piece has 4 options (W, X, Y, Z) with color and size options.

If this was the only setup the programming would be pretty simple and straight forward. 

However, here is where the problem arises:

If the user chooses Top C then they have an additional option for color of the trim.
OR
If the user chooses Top D then they have to choose which color they want on the left side and which color they want on the right side and which color they want for the trim.

So here is how the attributes need to work:

If choose Top A - select color and size
If choose Top B - select color and size
If choose Top C - select top color, trim color and size
If choose Top D - select top left color, top right color, trim color and size

Is this possible to set up in Magento and if so, how would you go about setting this up in the admin so it lays out nicely in the front-end?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top