Woocommerce invisible products
-
Hi,
could you add an condition to only add visible products?
in woocommerce.php on row 578:
`if ( ! apply_filters( GTM4WP_WPFILTER_EEC_CART_ITEM, true, $cart_item_data ) || ! apply_filters( ‘woocommerce_widget_cart_item_visible’, true, $cart_item_data, $cart_item_id ) ) {
continue;
}Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce invisible products’ is closed to new replies.