Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fun with Attributes...


Recommended Posts



Is there a means by which I could enable an attribute (color) only if a minimum number of the product has been added to the cart?


For example, Widget A is available black, red, and blue. However, red and blue require a minimum number of units (say, 50). Until the customer adds 50 pieces of Widget A to his basket, the color option should be hidden. If 50+ are entered, then the color attribute would need to be enabled for the customer to select.


I would think that this should also work in reverse, so that if the customer initially selects the minimum number of units, selects a non-standard color, then reduces the quantity to a value below the minimum, that the non-standard color attribute would be removed.


I'm thinking jQuery perhaps, but only based on some of the functionality I've seen demonstrated for other type of on-the-fly validations or such.




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...