Shopify themes, liquid, logos, and UX
I am currently trying to figure out a way of having HTML blocks have a expand/collapse capability similar to how description block (as well as other blocks). I've messed around with the main-product.liquid code and haven't been successful.
I am using Streamline by Archetype version 6.01
The reason why I'd like to use the HTML block is because I'd like to display certain product info depending a condition set by a product metafield.
Image below shows current state... notice how there's no triangle to collapse the info
Image below shows the description block, showing the triangle to allow user to collapse
Below is the code for HTML block located under main-product.liquid
Below is the code for description block
I am a novice coder when it comes to liquid, so I think I'm having issues understanding where exactly the liquid code is stored that handles this type of functionality because it seems to me like it would be located on a different file that is not main-product.liquid
Any help would be greatly appreciated!
can please send store url
The feature I'm working on is on a theme that isn't live yet. Let me know if there's anything else I can share that would help.
User | RANK |
---|---|
129 | |
90 | |
77 | |
71 | |
41 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022