Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #755893

    Hi,

    I can’t show ‘excerpt’ on my product overview pages. I see that I can make some adjustments on the optionsmenu ‘Enfold -> Shop Options -> Product layout on overview pages’.
    My wish is to show the excerpt below the name/title of the product. (note to Moderator: See image-link in private content)

    Is the productexcerpt inactivated when using WooCommerce and Enfold?

    The issue existed before I created my child-theme, so it does not relate to that, but just in case I followed one of your suggestions in the forum and updated to the last ‘Enfold”-update via FTP. I made sure I updated the parent.

    I have activated the ‘Advanced Layout Builder’ on som of my products, but not all of my products. The issues still impacts every product, no matter if the product is created with ‘Advanced Layout Builder’ or not.

    I’ve only got two plugins (WooCommerce + WP Custom Widget area).

    Big thanks in advance.

    Best regards
    Christian

    #755898

    Hi again…

    I found the solution, here in the forum (https://kriesi.at/support/topic/woocommerce-short-description-not-displaying-correctly-on-category-page/). Sorry if I wasted someones time.

    I pasted the following code into the ‘functions.php’:

    add_action( 'woocommerce_after_shop_loop_item_title', 'avia_category_page_new_div', 20);
    
    function avia_category_page_new_div() {
    	global $post;
    	$desc = '<div class="category-desc">' .apply_filters( 'woocommerce_short_description', $post->post_excerpt ). '</div>';
    	echo $desc;
    	
    	global $product;
    	echo $product->list_attributes();
    }

    Sending a big thanks to ‘Zimbo’ https://kriesi.at/support/profile/jacksgallery/ for posting the solution.

    Best regards
    Christian

    #755962

    Hey!

    Thank you very much for reporting back, you have not wasted anyone time.
    Please feel free to create a new tcket, if we can do anything else for you.

    Thanks a lot

    Best regards,
    Basilis

    #755963

    Hi,
    Thank you for sharing the solution, and for using Enfold

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show excerpt on Product layout on overview pages’ is closed to new replies.