I found 1 bug: the plugin doesn’t verify stock before adding to cart, you can buy 100 products with a variable stock management set as 10 and a stock set as 100 for ex.
Can you recreate the issue here:
http://poopy.life/
The issue i was talking about doesn’t work.
But an other issue exists:
With a stock of 1000, you can add 10 X 100g of black tea and after that add another 10x100g without error message. The stock doesn’t follow what is added to the basket.
Check here: http://dangerous-stork.w3.poopy.life/product/black-tea/
hello engineroom, i’m back !
Please try this bug in poopy.life :
http://odd-capybara.w3.poopy.life/product/black-tea/
Stock is set as 1000, variable stock management is: 100g=100 / 50g=50 …
Add 10 unit of 100g of black tea (stock should be 0 after that)
Add another 10 X 100g , your basket shows 20 X 100g so you can buy more than the stock.
Can you repair this ? Thank you !
Hey @engineroom I’ve pulled in your version on github and updated it here.
I’ve also added you to the contributors, thanks for the patch.
Chris