Jump to content

On Color selection of product, how to show only available attributes.


tech@designsbylyn.com

Recommended Posts

I have made a custom template with panel for selection of attributes.
Jewelry combination with color of product.
How do I check if an attribute is a set combination for a certain product color? I mean in the form of a PHP conditional, so that an attribute item will not show on the custom panel. Please check it out:

http://alacartedancewear.com/product.php?id_product=50

I have combinations of three attributes Color, Belt, and Jewelry. I want only the jewelry that is available for a selected color to be displayed on the selection panel, (which replaces a dropdown cotrol (disabled but shown))
What would that PHP conditional be? (i.e. If Jewelry A exists for color Red)
Thanks in advance! I purposely didn’t include any PHP code, but you can see it on my site.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...