Skip to main content

Inside the child theme functions.php file paste this and then add a product to the cart to refresh the WooCommerce AJAX fragment.

function nota_custom_cart_icon() {
return '<i class="sli-icon-bag"></i>';
}
add_filter( 'nota_mobile_cart_icon', 'nota_custom_cart_icon' );
add_filter( 'nota_header_cart_icon', 'nota_custom_cart_icon' );
add_filter( 'nota_go_to_shop_icon', 'nota_custom_cart_icon' );

You can then replace the icon code <i class=”sli-icon-bag”></i> using your own custom font icon.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.