renjii Posted December 8, 2009 Share Posted December 8, 2009 Hi i'm facing a problem in adding attributes n group combination. i not sure is it because of my combination logic error.Here's the examplei got a T-shirt with 3 colors . each has different size combination Color:Purple Size:MColor:Maroon,Size:S,Size:MColor:Blue,Size:S,Size:MPurple color only come with M size but the problem is even i select S size i'm still able to add it to shopping cart. though the size show in shopping cart is M size. Is it possible to add something like S size is not available for this color when user try to add the S size for purple color. I attached a screenshot for it. and sry for my poor english.no idea why i cant attach the picture Link to comment Share on other sites More sharing options...
spott Posted December 18, 2009 Share Posted December 18, 2009 Use product attributes generator Link to comment Share on other sites More sharing options...
tomerg3 Posted December 18, 2009 Share Posted December 18, 2009 Do not use the attribute generator (sorry spott, but I think you're wrong here, since he has exceptions he wants to use).You cannot have an item from the same group twice in one combination, you have to add a new one for each possibilityM , PurpuleM , MaroonS, MaroonM, BlueS, BlueWhen you do that, the user will get a javascript error when they try to add a combination that doesn't exist.You can change the text for that error in /themes/prestashop/product.tpl var attribute_alert_text = "{l s='You have not changed the default product options, click OK to add the product, or Cancel to make changes'}."; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now