Top WooCommerce & WordPress Plugins › Forums › Maximum Products per User for WooCommerce › Why is the limit not working in the translated version of the variable product?
- Support forum for the Maximum Products per User for WooCommerce.
- This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by
Zohaib.
- AuthorPosts
- July 22, 2021 at 7:51 pm #100698
Gabriel
ParticipantHello, 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.
July 23, 2021 at 11:05 am #100699Gabriel
ParticipantBTW I’m using the PRO version of the plugin
July 25, 2021 at 3:56 pm #100700Zohaib
ParticipantHi Gabriel,
Your settings are correct. Only one thing you did not mention, In the General > Order Statuses, what order statuses have you set? It might be that when the customer places the order, by default the status is processing and you have not included the processing status in General > Order statuses.
Also can you try and disable the WPML plugin and test. Please let me know if it works and then we can work on a fix for that. If it still doesn’t work it might not be a translation issue.
- AuthorPosts
- You must be logged in to reply to this topic.