• Resolved zrpr

    (@zrpr)


    Hello
    I recently installed Tera wallet and i have a big problem with it.
    .on-woo-wallet-cashback {} show everywhere the price is. i just want it only on product page near the price
    image1: it should be only here.
    image2: It shouldnt be here

Viewing 1 replies (of 1 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @zrpr Please use the attached code in the theme functions.php file.

    add_filter( 'display_cashback_notice_at_woocommerce_page', 'display_cashback_notice_at_woocommerce_page_callback', 10, 1 );
    if ( ! function_exists( 'display_cashback_notice_at_woocommerce_page_callback' ) ) {
    	function display_cashback_notice_at_woocommerce_page_callback( $display ) {
    		if ( is_shop() ) {
    			$display = false;
    		}
    		return $display;
    	}
    }
Viewing 1 replies (of 1 total)

The topic ‘CachBack Showing Everywhere’ is closed to new replies.