Plugin Support
Taha
(@tahaamin)
Hello @feri6,
Thank you for reaching out. I just checked and everything seems to be working fine on my end, I was able to add each maximum amount from the variation to my cart and place the order without any issues. I wasn’t able to replicate the problem you’re experiencing.
Could you please share a recorded video showing the issue? Also, please let me know if you have enabled any other settings in the plugin beyond the default ones. I was testing using the default settings with only the maximum amount option enabled.
If you’re using any other plugins that affect order amounts or cart totals, please share those as well, it could be a conflict.
I’ll wait for your response.
Best regards,
Thread Starter
feri6
(@feri6)
Here is the video:
https://drive.google.com/file/d/1yIh9H0fU-qgeVX_yT2vaGMUtC9t6mMbg/view?usp=sharing
The text is Hungarian, but I hope you see the problem. Max. quantity is 21pcs from “Sötétzöld” variation, it is already in the cart. Max. quantity setting is 15pcs for “Nemzeti színű”, and I try to add 15 to the cart. It is not allowed, the error message says that it will be 36pcs in the cart (which is true, but theoretically I can still buy them separately in packs of 21 and 15). The max. quantity is displayed abouve the “Kosárba” (Add to cart) button.
I don’t recall changing the default settings, but what settings could be affecting this?
Plugin Support
Taha
(@tahaamin)
Hello @feri6,
Thank you for sharing the video, I was able to replicate the issue on my end.
I believe the issue is related to the “Add to cart” validation option when it is set to “validate and add notice.” In this case, the plugin reads the default value for the current variation and prevents adding new variations to the cart.
I have reported this to our development team. We will review the issue and update you accordingly.
Thank you for your patience.
Best regards,
Hi @feri6 ,
Please, try again with version 5.2.6 that I just released, and let me know if it helps.
Thread Starter
feri6
(@feri6)
We tested: If you add 1 units to the cart, and then add another 3 units of the same item, for example, it will display a message stating that you cannot purchase 7 units of that item, only 4 units. (The maximum purchase limit is 4 units in this example.)
It’s as if the system doubles the quantity placed in the cart (3 units) during the calculation, so it only allows you to add half of the maximum purchase limit to the cart.
It seems the %cart_total_quantity% and %item_quantity% placeholders were showing the current item quantity in cart plus the quantity the user was trying to add to cart.
Please, update to version 5.2.7, and let me know if it helps.
Thread Starter
feri6
(@feri6)
That works for now, but the original problem still remains.
We distinguish between two scenarios depending on whether the variants have separate inventory management or not.
1. If there is no separate inventory management: Then the current behavior is correct, meaning you cannot allow the customer to add more than the maximum purchase quantity to their cart in total across the two (or more) variations. You can allow a maximum of the highest maximum purchase quantity among the variations. Otherwise, the customer could use the individual variations to buy up the entire quantity in stock, which is exactly what we want to prevent.
2. If there is separate inventory management: Then the plugin isn’t working properly, because it doesn’t allow me, for example, to add 3 of the yellow product and 2 of the blue product to my cart if the maximum purchase quantity for the yellow product is 3. Yet in this case, I should be able to buy 2 of the blue product. (And of course, assuming there is sufficient stock of both.)
I hope this clarifies the issue.
Hi,
– The Per Item Maximum Quantity Options > All products option is supposed to specify a maximum quantity for all products individually (not combined)
– The Per Product option allows setting a max for each variation, which will overwrite the All Products option above
– The Per Product > All variations option will set a max for all variations combined in cart.
I believe that mechanism will suit you for what you need. However, it was not working properly. Please update the plugin to version 5.2.8 that I just released, and let me know if it helps.