• Hi, I added a side cart plugin, and I can hide the checkout button adding the class, but this only works in cart page. IS there an option to hide the button in the rest of the pages?

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

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

    (@razyrx)

    Hello,

    No, plugin do not have options to hide any elements on other pages.
    This functionality work only on cart page.

    Regards,
    Oleg

    Thread Starter jandrix

    (@jandrix)

    Ok, understood. So, is possible to use the same hook in order to apply on the rest of the pages?

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    We are using default WooCommerce notices. It has hooks and depending on theme can be manageable.

    function wc_print_notices has $notice_types = apply_filters( 'woocommerce_notice_types', array( 'error', 'success', 'notice' ) );.
    Returning empty array for woocommerce_notice_types hook will not show any notices.

    Regards,
    Dmytro

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide the checkout button in side cart.’ is closed to new replies.