This topic has 6 replies, 2 voices, and was last updated 3 years, 12 months ago ago by Olga Barlow
Is there a way I can show my product tags under the title of the product in the /shop page?
Hello,
There is no such option in our theme. You can implement this by additional customization. You can submit additional customization request here.
Regards
Is there a way to do it with non-variable attributes, then?
Hello,
Add the below code to child theme functions.php to display tags
add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_product_loop_tags', 5 );
function woocommerce_product_loop_tags() {
global $post, $product;
$tag_count = sizeof( get_the_terms( $post->ID, 'product_tag' ) );
echo $product->get_tags( ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', $tag_count, 'woocommerce' ) . ' ', '.</span>' );
}
Regards
Great, thank you. Is there a way to do this for attributes?
Hello,
Also only by additional customisation. Submit request to customisation team.
Regards
You must be logged in to reply to this topic.Log in/Sign up