Shopify themes, liquid, logos, and UX
I want on my product to have a button under de buy button to go to the collapsible content that have the specifications, some people say me the code but idk how to do it or how to create a button with a specific code:
alpha-titan.com
Hi @Ddsdssds
Yes, it possible. But you will JavaScript to open the collapsible to show content for you. Which collapsible do you want the button to scroll?
NOTE: You will need the product link and ID of the collapsible to make this work.
<a class="button" href="LINK_OF_THE_PRODUCT#ID_OF_THE_COLLAPSIBLE>Go to collapsible</a>
Sample code with the said link
<a class="button" href="https://theme-bella1.myshopify.com/products/leather-anchor#Details-315eca6e-9238-4fa7-a1a0-d2fefa290927-template--15853354451044__main">Go to collapsible</a>
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
How do i see the id of the collapsible content
You have to use the inspect tool. Go to your website, and right click the collapsible. This will open the inspect tool window. Find the <details> tag and double-click to highlight the ID and copy
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024