Hi @matthieucnc,
Thank you for providing the website URL, I have checked your website and noticed that you had disabled the plugin because I can not see the quantity field on the checkout page.
Astra theme appears to dynamically add the quantity button using a JavaScript file, which functions correctly once the page is fully loaded. However, the initial load seems to require triggering the quantity button code using a different WooCommerce JavaScript Trigger.
To resolve this, you’ll need to modify the “add-to-cart-quantity-btn.min.js” file located in the “astra/assets/js/minified” directory. Please insert the following code into that file:
jQuery(function ($) {
$(document.body).on('updated_checkout', function () {
astrawpWooQuantityButtons();
quantityInput();
});
});
It’s crucial to ensure these changes only affect the checkout page to prevent disrupting the theme’s default behavior.
I recommend reaching out to the theme author for further assistance, as they will be able to provide more specific guidance on this matter. Please keep me updated on their response; I’m here to help!
Important: Always create a complete website backup before making any manual code changes.