Is there an option to add a quantity input field under each product on the product catalogue/category pages? It would ideally respect all the tiered pricing and default to the correct minimum order quantity if set up.
i.e. Instead of the "Add to cart" adding one product, it would add whatever amount is input in this field.
It wouldn't need to be apply for any products with variants.
By default our plugin does not have any features for this.
I believe this depends a lot on the theme. It may be possible to achieve it using a code snippet but I'm not certain the same snippet would work with all themes.
This code can add that kind of qty input field for simple products in my tests:
Is there an option to add a quantity input field under each product on the product catalogue/category pages? It would ideally respect all the tiered pricing and default to the correct minimum order quantity if set up.
i.e. Instead of the "Add to cart" adding one product, it would add whatever amount is input in this field.
It wouldn't need to be apply for any products with variants.
Hello John,
By default our plugin does not have any features for this.
I believe this depends a lot on the theme. It may be possible to achieve it using a code snippet but I'm not certain the same snippet would work with all themes.
This code can add that kind of qty input field for simple products in my tests:
This can be added to functions.php or any snippets plugin.
Kind regards,
Stefan
Hi Stefan,
Thanks for letting me know.
I did find that code online elsewhere and briefly tested it with Astra theme.
It seemed to work but I've since removed the feature as it was no longer needed.