I have 3 collapsible rows on my product pages, how can I have it so when a row is open and another row is then opened the already open row automatically closes? Scenario example below:
-
Collapsible row A is open
-
Collapsible row B is opened
-
Collapsible row A is automatically closed
Hi RahulPatel! You will need some JavaScript for this. Look into Alpine.js for this, which will make it very simple and can also help you execute similar dynamic actions.
Also, I have started a Slack community for Shopify Devs. Join to ask questions provide support to other Shopify developers in a real time: https://open-shopify-dev.slack.com/