Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when using the Product Add-ons plugin with Dokan Min/Max Quantity Module #2152

Open
daniel-toader opened this issue Jan 22, 2024 · 2 comments

Comments

@daniel-toader
Copy link

daniel-toader commented Jan 22, 2024

Bug Description

I have products that require a minimum order quantity of 3 and come in multiple color options.

These products are typically ordered in large quantities with different color combinations.

The issue arises when using both the official WooCommerce Product Add-ons and the min/max Dokan module.

When I add a color combination to the cart for the first time, everything works fine.

However, if I choose another color combination and use 'add to cart' for the same product, this issue occurs.

Starting from the second time and beyond, the quantity added to the cart multiplies.

For example, if I add 3 the second time, it adds 6. If I add 3 the third time, it adds 12, and so on.

I changed the theme to the default WordPress theme (2024) and the issue persists.

Expected Behaviour

Add 3 products to cart.

Actual Behaviour

The actual quantity multiplies after the first add to cart.

@nurul-umbhiya
Copy link
Contributor

@aihimel Kindly check this issue while testing new Min/Max module code.

@aihimel
Copy link
Contributor

aihimel commented Feb 6, 2024

@nurul-umbhiya,
The issue has been added to min max refactor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants