We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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

Solved

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

Spodobnyi
Tourist
4 0 1

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:

<div>{{ product.description | strip_html | truncate: 80 }}</div>

 

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

 

Spodobnyi_0-1676328227497.png

Spodobnyi_1-1676328373086.png

 

 

Accepted Solution (1)
BSS-Commerce
Shopify Partner
3478 465 562

This is an accepted solution.

Hi @Spodobnyi 

Please follow these steps:

- Step 1: Open Edit code at Online store > Themes > Edit code:

view (18).png

- Step 2: Search for the file "card-product.liquid":

view (19).png

- Step 3: In the file "card-product.liquid" find the following code:

{% render 'price', product: card_product, price_class: '' %}

view (20).png

- Step 4: Paste this code after the line you just searched for:

 <div>{{ card_product.description | strip_html | truncate: 80 }}</div>

view (21).png

- Step 5: Save and see the result.

view (23).png

We hope this can help you solve the issue.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 6 (6)

BSS-Commerce
Shopify Partner
3478 465 562

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.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Spodobnyi
Tourist
4 0 1

Hi @BSS-Commerce 

Of course, thank you for your reply!

https://chee.in.ua/

BSS-Commerce
Shopify Partner
3478 465 562

This is an accepted solution.

Hi @Spodobnyi 

Please follow these steps:

- Step 1: Open Edit code at Online store > Themes > Edit code:

view (18).png

- Step 2: Search for the file "card-product.liquid":

view (19).png

- Step 3: In the file "card-product.liquid" find the following code:

{% render 'price', product: card_product, price_class: '' %}

view (20).png

- Step 4: Paste this code after the line you just searched for:

 <div>{{ card_product.description | strip_html | truncate: 80 }}</div>

view (21).png

- Step 5: Save and see the result.

view (23).png

We hope this can help you solve the issue.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Spodobnyi
Tourist
4 0 1

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

EFOLI-Emilia7
Shopify Partner
349 11 39

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

banned
Spodobnyi
Tourist
4 0 1

Hi @EFOLI-Emilia7 

Of course! Thank you for your willing to help.

https://chee.in.ua/