• The plugin works, but the only problem is, at the cart page, I can still add the quantity dial to whatever number I want.

    How to disable the quantity according to the limit I set? For example I set the max is 5, and when I click the add quantity button it will stop at 5. is this possible?

    Screenshot: https://imgur.com/a/8zM3Cit

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    Did you try to turn on option ‘Prevent add to cart’ on the plugin settings page?

    Regards,
    Dima

    Thread Starter dzulfriday

    (@dzulfriday)

    Yes, it still can add to number higher than the max limit. It is wonderful if the quantity stops at the limit that we set.

    I have the same issue. I have a single product with Maximum quantity set to 5.

    I have ‘Prevent add to cart’ checked but I can still go beyond 6 in the quantity selector and add to cart (it does give me the warning message though and removes the checkout button).

    The plugin should add the max attribute to the quantity input field though ie; max=”5″ so it’s impossible to go beyond the max in the first place.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Prevent add more quantity’ is closed to new replies.