Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #986480

    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?

    #986942

    Hey 4EPIU,

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #986964

    yes!

    i would like do as in the first product.

    View post on imgur.com

    I ve another questions too: why my image in the archive page are out of focus?

    #987553

    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

    #988617

    thanks! it works very well!

    #988906

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘short descriptions in archive page’ is closed to new replies.