• Resolved alefbatista

    (@alefbatista)


    The plugin is doubling the amount entered in the cart (1, 3, 5, 7 …)
    but only in the individual product page
    how i disable just in the page single product ?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author taisho

    (@taisho)

    Hello,

    as for the topic title, unfortunately it’s not possible to disable the buttons on some pages.

    As for the actual issue, it’s a well-known problem with some themes adding their own buttons. It is easy to hide them (yes, they are hidden at the moment), but much harder to disable. Therefore clicking on the buttons from Qty Increment Buttons triggers both the event from my plugin and the event from the theme. If this happens only on this product page then it is possible that for some reason the theme adds the buttons just to this specific product type.

    For some of the most popular themes, I resolved the problem individually, but in the plugin version that I’ve just released, I also prepared a generic version to stop many themes from adding these buttons, that’s what patch notes say about it, please let me know if this solved the problem, if not I’ll check what can be done with this specific theme:

    Added "buttons_added" class to div.quantity in quantity-input.php template. This will stop some themes from adding their own buttons.

    Best regards,

    Ryszard

    Thread Starter alefbatista

    (@alefbatista)

    Good afternoon Taisho
    Thank you very much for responding.
    I updated the plugin, but unfortunately it didn’t solve the problem, continuing to add 1, 3, 5, 7 …
    I checked and it is in fact with theme conflict in the variable $step, but I don’t know how to fix it: \

    Thread Starter alefbatista

    (@alefbatista)

    Taisho,
    I managed to solve the problem, I found the theme file responsible for the variable $step and line of code, where it is called, put -1 and solved the problem.
    Thank you very much for your attention !!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to disable plugin on individual product page’ is closed to new replies.