• Hello,

    I manage a WooCommerce store and I’m using the WPC Product Bundles and WPC Product Quantity plugins. My goal is to limit the number of items in several bundles (for example, 3 items in some bundles and different maximum quantities in others) while ensuring a smooth user experience.

    Currently, when the maximum quantity for a bundle is reached, an error message appears, but the “+” button remains active, allowing the customer to continue clicking on it. I would like to achieve the following behavior:

    • When the maximum allowed quantity is reached in a bundle, the “+” button is automatically disabled (or hidden/grayed out), preventing the user from adding more items.

    The aim is to apply this behavior to multiple bundles with different quantity limits, not just a single bundle.

    Could you please let me know if this is possible through existing settings, or if I would need to customize the code (e.g., via JavaScript) to achieve this? If a solution already exists within your plugins, I would appreciate guidance on how to implement it.

    Thank you for your assistance.

    Best regards,

Viewing 1 replies (of 1 total)
  • Plugin Support Janilyn T

    (@janilyn409)

    Hi @boutheynahamdi90 ,

    I have consulted with one of our developers about your question. In this case, you might need to add custom codes for your site specifically. Our plugin can’t achieve that since disabling the plus and minus buttons would depend on the theme or template used on your site as well.

    In some cases, disabling the plus and minus buttons on the bundle page is fine, but on the cart page, especially the new cart block widget, the plus and minus button will still be enabled, hence causing incorrect quantity issues. Solving this might require further backend inspection and it’s hard to make this possible in the general plugin updates.

    Hope that my answer is helpful for your case.

    Best regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.