• Resolved Fabricio10

    (@fabriciobarros10)


    I really liked it, it was what I was looking for!

    I need to remove the – + button from the cart page.
    I want to leave it only on the product page

    I tried additional CSS like this:

    .cart button.minus.qib-button {
    display: none;
    }
    .cart .plus.qib-button {
    display:none
    }

    but I’m not sure, because it was also deleted on the product page.

Viewing 1 replies (of 1 total)
  • Hannan

    (@phpcoderhannan)

    Hello,

    You can remove the – + button on your by using the below code:

    if( !function_exists( ‘wqpmb_button_off_in_minicart’ ) ){

    function wqpmb_button_off_in_minicart( $bool ){
    global $product;
    if(is_null($product)) return false;
    return $bool;
    }
    add_filter( ‘wqpmb_template_on_off’, ‘wqpmb_button_off_in_minicart’ );
    }

    You can add this code to your child theme functions.php or if not child theme then also add the main theme functions.php file.

    Also, you can add this code as a snippet of code snippet plugin.

    After adding this code -+ button will remove from your cart page.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Remove – + Cart’ is closed to new replies.