Products with many swatches not showing as out of stock
-
Hi!
We don’t know if this is due to a recent update or if it’s been like this for a longer time. We have a product that has a large amount of variations:
https://beredd.se/butik/skor/crocs-classic-clog/The problem is that this product is not behaving like other products. Even though a large amount of variation combinations are not available, everything still shows up as if it was “in-stock”.
For example, this product is not even a combination that is configured in our store:
https://beredd.se/butik/skor/crocs-classic-clog/?attribute_pa_farg=quartz&attribute_pa_storlek=50-51
But for some reason the swatches display it as if it was “in-stock” but selecting it only returns a message “this product combination does not exist”.Likewise for regular “out of stock” variations, the swatches still indicate that the variations are in-stock:
https://beredd.se/butik/skor/crocs-classic-clog/?attribute_pa_farg=bijou-blueAll our other products are behaving like they should. For example, this product displays crosses on top of all types of unavailable variations (both for configured variants and variants that are not even configured):
https://beredd.se/butik/skor/crocs-classic-slide/?attribute_pa_farg=black&attribute_pa_storlek=48-49We have done quite a lot of testing on our end and managed to narrow down the problem to an issue with the amount of variants.
When we made a product that has over 100 variations on our test server we’re starting to see similar issues.
This one with 100 variants works:
https://dev.beredd.se/butik/ovrigt/swatches-test-product/?attribute_pa_storlek=34&attribute_pa_farg=blueThis one with 101 variants doesn’t:
https://dev.beredd.se/butik/ovrigt/swatches-test-101-variants-broken/?attribute_pa_storlek=42&attribute_pa_farg=greenFor a product this big and complex we’re quite reliant on the “out of stock” indicator, otherwise it quickly becomes unmanagable to try and browse the product to manually find products that are actually in-stock.
I’m seeing similar issues open in the support forum right now, but since it’s not clear if we’re having the exact same problem (the amount of variants being the problem) I decided to make this a separate post.
Thank you for the help!
The page I need help with: [log in to see the link]
- The topic ‘Products with many swatches not showing as out of stock’ is closed to new replies.