Add Text After or Before on the Shop Page-Archive Page

81

1
remove_action( 'woocommerce_shop_loop_item_title','woocommerce_template_loop_product_title', 10 );
	function customize_shop_page_product_title() {

    $custom_text = 'My Custom Text';
    echo '<h3 class="woocommerce-loop-product__title">' . get_the_title() .$custom_text.'</h3>';
}
add_action('woocommerce_shop_loop_item_title','customize_shop_page_product_title');

Comments

Submit
0 Comments