• It seems that when the Quantities and Units for WooCommerce plugin is enabled and “Quantity max” values are set in the Product Bundles plugin, the quantity field on a product page does not auto-populate (to “1” for instance). Also, and more critical, when attempting to add a product bundle to the cart (with “quantity max” set for it), the product fails to add to the cart, and the following error (from the Product Bundles plugin) is displayed: “{PRODUCT BUNDLE NAME}” cannot be added to the cart. The quantity of “{PRODUCT NAME}” cannot be lower than {X}.

    Product Bundles plugin page: https://woocommerce.com/products/product-bundles/

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter abirchler

    (@abirchler)

    It looks like the Product Bundles plugin was adding some hidden inputs with the class, qty in at least some instances. This and the fact that the Quantities and Units for WooCommerce plugin uses that selector to access the quantity inputs seems to have been the root of the problem.

    When I change the jQuery selectors in assets/js/ipq_input_value_validation.js from .qty to .qty[type!=hidden], things seem to work ok – at least for my needs.

    I haven’t done enough testing on this to verify that there are no undesirable side effects, so I haven’t contributed this fix back to the Quantities and Units for WooCommerce plugin yet.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with WooCommerce Product Bundles Plugin’ is closed to new replies.