Whispar1 Posted February 10, 2013 Share Posted February 10, 2013 I have been going through the combinations generator and can't get the behaviour I am looking for. If I have a product that has (2) attributes - color and size. Color does not affect the price, size does. This I have no problem doing through combinations and it works perfectly as intended. However, if I want to add a third attribute that is OPTIONAL for customer and does impact the price, how can this be achieved? Link to comment Share on other sites More sharing options...
tomerg3 Posted February 11, 2013 Share Posted February 11, 2013 You would have to use the combiantion generator again, and if you want to make it optional, you would need to add a default option of "None" which will not have a price impact, as Prestashop requires 1 selection from each attribute group. 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted February 11, 2013 Author Share Posted February 11, 2013 (edited) Thank you tomerg3 I tried that - at least I think I did I attached a few screens to show what I did - maybe I am missing something Applique A is the optional item that will add a cost if selected Edited February 11, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted February 11, 2013 Share Posted February 11, 2013 I understood, and as I said, you have to have 1 attribute from each group selected, so you would need to create a new attribute value IE "None" under Applique group and without a price impact. Link to comment Share on other sites More sharing options...
Whispar1 Posted February 11, 2013 Author Share Posted February 11, 2013 (edited) My apologies - I didn't fully understand what you said but now I got it. Thank you.. it works. Edited February 11, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted February 20, 2013 Author Share Posted February 20, 2013 This worked flawlessly - thank you for the tip. There is one issue on one of the products that I can not figure out http://69.36.191.225/index.php?id_product=30&controller=product If you open this page and select 12" fabric opening, it pops up an applique option that I do not have a combination for in the BO. If you look at this page that also has the method used that you suggested - there are no issues. You choose 12" fabric opening and all other attributes remain "none" http://69.36.191.225/index.php?id_product=27&controller=product Any thoughts on why this is happening for the first product? Link to comment Share on other sites More sharing options...
tomerg3 Posted February 21, 2013 Share Posted February 21, 2013 You have a JS error on that page Timestamp: 2/20/2013 10:32:46 PM Error: SyntaxError: syntax error Source File: http://69.36.191.225/index.php?id_product=30&controller=product Line: 2900, Column: 19 Source Code: count: , If the issue persists after fixing it, let us know. Link to comment Share on other sites More sharing options...
Whispar1 Posted February 21, 2013 Author Share Posted February 21, 2013 Thanks for the heads up - the JS was looking for a count of a tweet function I am not using so I just commented it out. Didn't change the drop-down selection error though. Link to comment Share on other sites More sharing options...
tomerg3 Posted February 21, 2013 Share Posted February 21, 2013 That's odd, I'm not quite sure why PS is changing it. Did you try to change Preferences->products-> Display unavailable product attributes on product page Link to comment Share on other sites More sharing options...
Whispar1 Posted February 21, 2013 Author Share Posted February 21, 2013 (edited) Preferences is set to NOT display unavailable attributes. I switched it to yes, saved, then back to no and saved - but still not change... very odd. Maybe I broke the limits of PS attribute system Edited February 21, 2013 by Whispar1 (see edit history) 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