=' ) ) { add_filter( 'woocommerce_add_to_cart_fragments', 'shop_isle_cart_link_fragment' ); } else { add_filter( 'add_to_cart_fragments', 'shop_isle_cart_link_fragment' ); } /** * Integrations * @see shop_isle_woocommerce_integrations_scripts() */ add_action( 'wp_enqueue_scripts', 'shop_isle_woocommerce_integrations_scripts' ); /** * Cart page */ add_filter( 'woocommerce_cart_item_thumbnail', 'shop_isle_cart_item_thumbnail', 10, 3 ); /* WooCommerce compare list plugin */ if( function_exists('wccm_render_catalog_compare_info') ) { remove_action( 'woocommerce_before_shop_loop', 'wccm_render_catalog_compare_info' ); add_action( 'woocommerce_before_shop_loop', 'wccm_render_catalog_compare_info', 30 ); add_action( 'shop_isle_wccm_compare_list','wccm_render_catalog_compare_info' ); } if( function_exists('wccm_add_single_product_compare_buttton') ) { remove_action( 'woocommerce_single_product_summary', 'wccm_add_single_product_compare_buttton', 35 ); add_action( 'woocommerce_product_meta_end', 'wccm_add_single_product_compare_buttton', 35 ); }