Woocommerce Attribute variations are not working when…

Posted in: Newspaper
Post count: 200

Attribute variations are not working for visitors when “Any variation” is used , but working for logged WordPress administrators.

When “Any variation” for a product is used, the visitor can’t make an order.

For example when 2-3 or more different sizes and 10 (more or less) different colors have been added in the admin, and “Any variation” has been used for any of the attributes, on the front-end the visitor can’t make an order. What happens after selecting the desired attribute variations, is an error message, saying that the color variation is required to select.

To Reproduce
Go to: bit.ly/2Eg9wdn , select both attributes and press the Buy button (Купи).

Visualization of the process + screenshot of the admin settings:

1. https://imgur.com/EJSF2hs (admin)

2. https://imgur.com/paReV7B (selecting variations and pressing the Buy putton)

3. https://imgur.com/UVcdnGu (error)

Expected behavior: I expect the product to be added to the cart.

Wordpress environment: 5.2
Woocommerce environment: 3.6.3
All plugins: Latest version

Tested with all plugins switched off – no difference, the bug is still there

Post count: 23312

Hi,

Please notice that behavior does not come from our theme and therefore, is not a theme related. Most likely, this comes from your additional customization, some custom fields. Please switch your website to a default theme and check if the behavior is the same. If yes, it seems that behavior comes 100% from your customization from Woocommerce.

Thank you!

Post count: 200

This is now resolved. It was a typo in a custom function related to caching.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.