How to add a product description in the Collection section on the Home page?

Hi friends,

I am using the Sense theme version 5.0.1. My pain is to add short product descriptions on the Home page - right below the titles and above the prices. Please help with what code and where exactly I need to add it.

I’ve come across some suggestions like:

{{ product.description | strip_html | truncate: 80 }}

But it seems it does not work for Sense theme version 5.0.1… or maybe I am too stupid.

Hi @Spodobnyi

Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

Hello @Spodobnyi , Please share your store URL and password(If it is password protected).

So that I can check and suggest you a solution.

Thank you

Hi @BSS-Commerce

Of course, thank you for your reply!

https://chee.in.ua/

Hi @EFOLI-Emilia7

Of course! Thank you for your willing to help.

https://chee.in.ua/

Hi @Spodobnyi

Please follow these steps:

  • Step 1: Open Edit code at Online store > Themes > Edit code:
![view (18).png|1649x835](upload://r0XmEQUUwhjEtnagslhJdkXa0Rz.png)
  • Step 2: Search for the file “card-product.liquid”:
![view (19).png|375x546](upload://eEygIgEwAdkf5BrGmMJtrIGAmcU.png)
  • Step 3: In the file “card-product.liquid” find the following code:
{% render 'price', product: card_product, price_class: '' %}

  • Step 4: Paste this code after the line you just searched for:
{{ card_product.description | strip_html | truncate: 80 }}

  • Step 5: Save and see the result.

We hope this can help you solve the issue.

OMG, you are awesome! Thanks a lot. It works!