If the quantity plus-minus buttons are not functioning properly when AJAX is involved (such as with custom mini-carts, quick views, or product loops), it’s often due to how the buttons are loaded dynamically after the initial page load.
Here are a few key things to verify:
- JavaScript Initialization:
Make sure the plugin’s JavaScript is re-initialized after any AJAX-loaded content. If your theme or a third-party plugin loads products via AJAX, the buttons might not behave unless you trigger re-initialization using custom code or JavaScript event listeners. - Theme Compatibility:
Some AJAX implementations override or recreate HTML structures, preventing the plugin from targeting the correct quantity input fields. Check if your theme modifies the default WooCommerce templates. - Caching or Minification:
JS minifiers or deferrers from caching plugins may interfere with the plugin’s script. Try disabling those features temporarily to test. - Use of Custom Templates:
If your theme uses a non-standard structure for quantity inputs, the plugin may need compatibility adjustments.
If you’re facing persistent issues, you can contact support with your theme details or check the developer console for JavaScript errors.