Hello All,
Running magento 2.3.4. My questions is regarding the configuration of a configurable product especially how to handle product combination which are not available.
For example we create a configurable product with 2 options size and color
we have 3 sizes: S, M, L and 3 Colors: Red, Blue, Green
So 9 product variant are created via the configurator 3 sizes, times 3 colors = 9.
Not comes the tricky part. The green is only available in S and M and not in L.
Now I have 2 options disable or remove (what is the difference?)
Tried both options but when I select size L i still have the possibility to choose green.
when I than click add to cart I get an error message "there are mandatory options for this product"
Ideal would be that this option would not be visible. so when you select L the only colors you can pick would be Red and Blue which are available.
This is only a simplified example the sets im trying to create a much more complicated with 6 or 7 options and lot of not possible combinations.
Hope to hear from you all soon.
Thanks
Vincent
Hi @vctrade,
Can you confirm for some points:
1.do you have any third party extension working on products or swatch options.
2.are you trying the same on vanilla magento with luma theme or any customized theme you are using now.
I hope after using remove or disable options. You have reindexed the data again. If not please try that once.
Flush the magento cache.
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Hello @Nishu Jindal
Thanks for your reply.
1) No third party extension working on products.
2) Trying with the custom theme (porto theme) that i have now but on a staging website. (not on live)
Yes flushed the cache and reindex the data but that did not help.
any other idea?
Best regards
Vincent
Hi @vctrade ,
Are you able to reproduce same issue on the vanilla magento as well without your custom theme.
Try that once at your end. It will help us to narrow down the issue.
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
I don't have access to a clean magento 2 installation any other ideas?
Something has changed now.. I will explain what i did.
cleaned cache / restarted varnish
now the options which I can choose from are limited. But now also combinations which are available cannot be selected.
Hi @vctrade ,
Are they showing same error message like previous or we are getting some other error message.
Thanks!
Not the same message.. now some options are just not available..
So for example when I choose L, green is not available in the pull down menu but also red is not available while that one should be.
Hi @vctrade,
Can you please check whether your red option have stock available or not.
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Hello @Nishu Jindal
There was no stock control.. changed it to controlled for each item.
Changed quantity stock to 100 and made sure the in stock property was set.
Flushed the cache and restarted the varnish docker
without luck unfortunately