eleni_2
November 19, 2024, 12:00pm
1
Hi to everyone , i am building my store right now and i have a problem :
I dont want my customers to press ‘‘view full details’’ to see my products description , instead of that i want them to see the whole description normally without pressing nothing , Can somebody help me please ??
Thank you!!!
Ahmad31
November 19, 2024, 12:17pm
2
To display your product descriptions directly without requiring customers to click “View full details,” you can customize your theme:
Edit the Product Grid Template :
Go to Online Store > Themes in your Shopify admin.
Click Customize next to your active theme.
In the theme editor, locate the section or block that displays products on the collection or home page.
Edit the product grid or card settings to include the product description.
Modify the Code (if needed):
Go to Actions > Edit Code in your theme settings.
Open the product-card.liquid or similar file in the Sections or Snippets folder.
Look for the code rendering the “View full details” button and product description.
Replace the button logic with {{ product.description | escape }} or a shortened version with {{ product.description | truncate: 100 }}.
Test Responsiveness :
Ensure the description displays correctly and doesn’t break the design, especially for long descriptions. Adjust CSS styles if needed.