product CART resize on REFRESH theme.

ghabbaki
New Member
7 0 0

i need to resize the height of the display cart in my store and maintain the same height inside the page, a part of two line should show from the long title. upon selection on the product, all details shall display  the long title and descriptionscart-correction.jpg

Replies 9 (9)
Dan-From-Ryviu
Shopify Partner
2926 505 551

Hi @ghabbaki 

You can use code to limit number of characters of product title so it will only appear in 2 lines for long title.

Go to your Online Store > Themes > Edit code > Snippets > open card-product.liquid file, search this line of code 

{{ card_product.title | escape }}

And replace with this

{{ card_product.title | truncate: 70 }}

Change value 70 in code to make sure your title will appear in 2 lines only. 

 

 


- Is it helpful? Like, or Accept my solution or Buy Me a Coffee!
- Ryviu - Product Reviews app, Collect consumer feedback and import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart.
- Enjoy 3 months of Shopify for $1/month. Sign up now

ghabbaki
New Member
7 0 0
dear, i followed to edit code snippets but no changes, hope i did properly, here attached 2 snapshot screen of my store
Dan-From-Ryviu
Shopify Partner
2926 505 551

Could you share your store URL and where did you add the code?


- Is it helpful? Like, or Accept my solution or Buy Me a Coffee!
- Ryviu - Product Reviews app, Collect consumer feedback and import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart.
- Enjoy 3 months of Shopify for $1/month. Sign up now

ghabbaki
New Member
7 0 0

pawmaw.shop

ghabbaki
New Member
7 0 0
ghabbaki
New Member
7 0 0

hello dear, any progress on my help request

Dan-From-Ryviu
Shopify Partner
2926 505 551

Hi @ghabbaki 

Your store has password protected Screenshot 2023-09-20 at 08.11.06.png


- Is it helpful? Like, or Accept my solution or Buy Me a Coffee!
- Ryviu - Product Reviews app, Collect consumer feedback and import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart.
- Enjoy 3 months of Shopify for $1/month. Sign up now

ghabbaki
New Member
7 0 0
Thank you dear I solve it as per your advice yesterday
ghabbaki
New Member
7 0 0

1-how can i do the same setting for cart on mobile display, please reply with steps to follow.

2- where i can find a global shipping policy to add to my store

 

thanks in advance

 

george