This topic has 4 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
Hello,
I’m working in a ecommerce and I want to show de attributes in shop page but I don’t know how to do it.
I managed to show SKU, but not the attributes.
The code:
add_action( 'woocommerce_before_shop_loop_item_title', 'shop_sku' );
function shop_sku(){
global $product;
echo '<div class="sku">Code: ' . $product->sku . '</div>';
}
I appreciate any help
Hello,
Please refer to this topic:
http://stackoverflow.com/questions/25826092/display-product-variations-on-category-page
Best regards,
Jack Richardson.
Hello,
this topic is not exactly what I need, I want to show the attributes of the products in the shop list, in this link will see an example of what I need to do.
http://www.immograf.com/clients/labclinics/show-attribute.jpg
Regards,
Hello,
Sorry, but our theme doesn’t have such option. It’s related to Woocommerce plugin. You may ask their support for some solution or search for some plugin.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up