Support » Plugin: SMNTCS Quantity Increment Buttons for WooCommerce » Buttons not function on product pages

  • Resolved cebcreative


    Hi there,

    The plugin has stopped working on product pages after the recent update. The buttons don’t do anything when clicked?


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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Confirm, stopped working

    The same problem on all of my sites, unfortunately.

    Can confirm as well. Looking into a solution.

    Found a temporary solution until the developers fix the issue.
    Add this code in your theme’s functions.php file:

    function dmc_wc_smntcswcb_quantity_fix_before() {
    	echo '<div class="product-quantity">';
    function dmc_wc_smntcswcb_quantity_fix_after() {
    	echo '</div>';
    add_action( 'woocommerce_before_add_to_cart_quantity', 'dmc_wc_smntcswcb_quantity_fix_before' );
    add_action( 'woocommerce_after_add_to_cart_quantity', 'dmc_wc_smntcswcb_quantity_fix_after' );

    Keep in mind that if you will update your theme version, then this code will be automatically removed. You can safely add it again.
    Let me know if this fixes the issue for you guys and feel free to contact me in case you need some help.
    Web Developer

    Design Locker


    Hi Dan,

    Thank you so much for this workaround, I can confirm it is working for me.

    Regards, Noel.

    Plugin Author Niels Lange


    Hello @cebcreative, @ptm282192, @design-locker & @danmillercoding 👋

    I just release version 1.24 and the buttons should now work as expected on all pages.


    It stopped working for me Today… Any solution to this?

    Plugin Author Niels Lange


    Hello @gromojar 👋

    If the plugin worked yesterday and stopped today, you might be facing a plugin conflict as the last update of the plugin took place two weeks ago. Do you recall if you have installed or updated any plugins today, which might have caused that problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Buttons not function on product pages’ is closed to new replies.