Hello, the limits are not working in the translated version of the variable product.
I’m using WPML and I have that set in the Multi-language option in General.
I’m using mode Product Quantities, lifetime, use variations checked, hide products with exceeded limits (doesn’t work), Count by current payment method enabled, Identify guests by IP address enabled.
In limits I have All products enabled, limit per user 1, the rest disabled (I also tried per product categories, but the result is the same).
In front end I have enabled Validate on add to cart , Display cart & checkout notices for each product, Stop customer from accessing the checkout page on exceeded limits and Show limit message for variations.
On all test I made I put the stock back to 1, erase orders and I Delete & recalculate sales data.
My goal is:
I have 2 products, one has 25 of stock (Product 1) and the other one is a variable product with 11 variations (Product 2), each variation with 1 in stock. I want to limit the purchase for each client to only 1 product of product 1, and 1 variation of the Product 2. So they can just buy 1 of each of the products.
The products have translations.
I’m using WordPress 5.8 and Elementor.
Relevant Plugins: Variation Swatches for WooCommerce, Elementor Pro, WooCommerce Multilingual.