AnGe7 Posted January 12, 2021 Share Posted January 12, 2021 (edited) Hello all, (and happy new year) I have a prestashop v1.7.6.8 with this theme : https://www.leotheme.com/guides/prestashop17/at_gucci/ Some products have variants (color & size), first i need to select one color and after i need to choose one size. I try to add « Please select » option for sizes, actually the first size is auto selected. Someone can help me to add this option ? i searched on this forum, google, etc. but i don't find one solution which work with my theme Or i try to have default size attribute with instock only, i don't want default attribute with out stock, i try to update « getDefaultAttribute » but not working. Thank you ! Edited January 12, 2021 by AnGe7 (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 12, 2021 Share Posted January 12, 2021 Hi, Welcome to the Prestashop eco! The first point would be that Prestashop doesn't support that behavior. Once you have combination, the predefined option will be default combination. this as you noticed can abe a bumper as in case you run out of the default combination in stock, the client will get a page with the message of out of stock for the product (they need to change teh combination - but thats not visible, so it's a huge bailout part). What you can do is to use a Module like : https://addons.prestashop.com/en/combinaisons-customization/50019-change-default-combination-when-out-of-stock.html but I like @tomerg3 approach as well : Cheers, and good luck! Leo 1 Link to comment Share on other sites More sharing options...
AnGe7 Posted January 12, 2021 Author Share Posted January 12, 2021 Thank you @Leo @ Prestachamps ! it works ! Link to comment Share on other sites More sharing options...
Prestachamps Posted January 12, 2021 Share Posted January 12, 2021 Really happy that I could help. good Luck with Sales ! Link to comment Share on other sites More sharing options...
JBW Posted January 13, 2021 Share Posted January 13, 2021 For a real "pleae select attribute" you can use this module: https://addons.prestashop.com/en/product.php?id_product=47851 1 Link to comment Share on other sites More sharing options...
AnGe7 Posted January 13, 2021 Author Share Posted January 13, 2021 5 hours ago, JBW said: For a real "pleae select attribute" you can use this module: https://addons.prestashop.com/en/product.php?id_product=47851 i bought it too. Thank you ! 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