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

    (@subratamal)

    @hasanalkhaled Use the attached code in the theme functions.php file.

    add_action('wp_loaded', 'change_position_of_cashbak_notice');
    
    if(!function_exists('change_position_of_cashbak_notice')){
    	function change_position_of_cashbak_notice(){
    		if(!is_admin() && class_exists('Woo_Wallet_Frontend')){
    			remove_filter('woocommerce_shop_loop_item_title', [Woo_Wallet_Frontend::instance(), 'display_cashback'], 15);
    			add_action('woocommerce_after_shop_loop_item_title', [Woo_Wallet_Frontend::instance(), 'display_cashback'], 15);
    		}
    	}
    }
    Thread Starter Hasan Al Khaled

    (@hasanalkhaled)

    @subratamal thank you so much. its working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cashback notice after price’ is closed to new replies.