Disable attribute validation when adding a product to the cart from the archive
-
Please tell me how to disable attribute validation when adding a product to the cart from the archive page.
In other words, if I have two rows of variations in the product settings (see screenshot), where attributes are selected for the first row and not selected for the second row, then when I try to add such a product to the cart from the archive page, I will be redirected to the product page and will display something like this notification “Variations 2 must be completed”.
It is worth saying that when adding such a product to the cart from the product page, the product is added to the cart without any problems. Whether your plugin is enabled or not.
- The topic ‘Disable attribute validation when adding a product to the cart from the archive’ is closed to new replies.