Answers for "woocommerce disable links on specific product"

PHP
0

woocommerce disable links on specific product

apply_filters( 'woocommerce_cart_item_name', sprintf( '%s', $_product->get_title() ), $cart_item, $cart_item_key );
Posted by: Guest on August-17-2020
0

woocommerce disable links on specific product

apply_filters( 'woocommerce_cart_item_name', sprintf( '<a href="%s">%s</a>', $_product->get_permalink(), $_product->get_title() ), $cart_item, $cart_item_key );
Posted by: Guest on August-17-2020

Code answers related to "woocommerce disable links on specific product"

Browse Popular Code Answers by Language