Hi i would like to shor the short descriptions (the same that i see in mi single product) in archive, category and subcategory pages…
how can i do?
Hey 4EPIU,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria
yes!
i would like do as in the first product.
I ve another questions too: why my image in the archive page are out of focus?
Hi,
Hi raidbowz!
Please add this code to the child theme functions.php to show the product short description on the archive/shop page.
function woocommerce_after_shop_loop_item_title_short_description() {
global $product;
if ( ! $product->get_short_description() ) return;
?>
<div itemprop="description">
<?php echo apply_filters( 'woocommerce_short_description', $product->get_short_description() ) ?></div>
<?php
}
add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_after_shop_loop_item_title_short_description', 5);
Best regards,
Dude
thanks! it works very well!
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Basilis