• Resolved olivercowan

    (@olivercowan)


    Is it possible to deactivate this on the cart page, so it has the browser default input step? Is there a filter or function you can provide for this?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Niels Lange

    (@nielslange)

    Howdy @olivercowan,

    Currently, it’s not possible to deactivate it on the cart page, but that’s a good idea. I should be able to add a filter for that purpose. Please give me a few days for this. ??

    Thread Starter olivercowan

    (@olivercowan)

    That would be awesome, thank you. Your plugin is great as it’s the only one I could get to work with WC Product Bundles (official plugin).

    Plugin Author Niels Lange

    (@nielslange)

    Howdy @olivercowan,

    That would be awesome, thank you.

    As suggested, I’ve just implemented the following two filter:

    Deactivate the plugin on the product page:

    add_filter('show_on_product_page', '__return_false');

    Deactivate the plugin opn the cart page:

    add_filter('show_on_cart_page', '__return_false');

    Once you’ve fetched the latest version of this plugin, simply add the corresponding filter to your functions.php and watch the magic. ???♂?

    Your plugin is great as it’s the only one I could get to work with WC Product Bundles (official plugin).

    I’m very happy to hear that! ??

    • This reply was modified 5 years, 9 months ago by Niels Lange.
    • This reply was modified 5 years, 9 months ago by Niels Lange.
    • This reply was modified 5 years, 9 months ago by Niels Lange.
    Thread Starter olivercowan

    (@olivercowan)

    That’s great, thanks!

    Plugin Author Niels Lange

    (@nielslange)

    You’re very welcome, Oliver!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deactivate on cart page’ is closed to new replies.