Reply 279335 to: How can I customize this design?

Avatar: Olga Barlow
Olga Barlow
Support staff
March 15, 2021 at 11:04

Hello,

Take my apologies for the delay in answering.
Do you want to hide button and price for the grid view only and for one Elementor Product element on the page or for all the product elements and no matter if this is the list or grid type of view?

To enable short description use the element settings https://prnt.sc/10m6ddo
To display SKU you can use WooCommerce hooks https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/ and add the below code to child theme functions.php

/**
* Adds product SKUs
**/
function ettheme_shop_display_skus() {

global $product;

if ( $product->get_sku()) {
echo '<div class="product-meta">SKU: ' . $product->get_sku() . '</div>';
}
}
add_action( 'woocommerce_after_shop_loop_item_title', 'ettheme_shop_display_skus', 9 );

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.