• Resolved darrenazz82

    (@darrenazz82)


    Hi there,

    I’m trying to see if i can add product description for my products on the home page, you now where it displays them in a grid like fashion.

    I’ve looked into the file called ‘content-product.php’, and i’m thinking i may need to add it there, as thats the loop?

    But feel free to correct me, and if possible help me out too..

    I’m currently using storefront theme..

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I understand you are trying to get product description displayed in archive. This tutorial can guide you through the process:

    https://www.winwar.co.uk/2018/03/how-to-add-a-product-description-in-a-woocommerce-archive/

    I hope it helps.

    Hi @darrenazz82

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

    Thread Starter darrenazz82

    (@darrenazz82)

    Hi there,

    I’ve managed to do it, I’ve placed the code below in my themes functions.php;

    add_action( 'woocommerce_after_shop_loop_item_title', 'bbloomer_ins_woocommerce_product_excerpt', 35, 2 );
    
    function bbloomer_ins_woocommerce_product_excerpt() {
         the_excerpt();
    }

    This seemed to do the trick.

    Plugin Support Cara

    (@dcka)

    Hi, @darrenazz82!

    Thanks for taking the time to update us with what worked in your case. For future reference, you can also add such code using a plugin like Code Snippets instead of directly in your theme’s function.php: https://www.ads-software.com/plugins/code-snippets/

    If you’re all set, you no longer need to reply to this thread. However, feel free to start a new thread if you need assistance with the core WooCommerce plugin again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display product description on the store front’ is closed to new replies.