Shopify themes, liquid, logos, and UX
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
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.
Solved! Go to the solution
This is an accepted solution.
Hi @Spodobnyi
Please follow these steps:
- Step 1: Open Edit code at Online store > Themes > Edit code:
- Step 2: Search for the file "card-product.liquid":
- 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:
<div>{{ card_product.description | strip_html | truncate: 80 }}</div>
- Step 5: Save and see the result.
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
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
This is an accepted solution.
Hi @Spodobnyi
Please follow these steps:
- Step 1: Open Edit code at Online store > Themes > Edit code:
- Step 2: Search for the file "card-product.liquid":
- 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:
<div>{{ card_product.description | strip_html | truncate: 80 }}</div>
- Step 5: Save and see the result.
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
OMG, you are awesome! Thanks a lot. It works!
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