Auto Open/Close Product Tabs (Only 1 Showing at a Time)

Hi,

I want my product description tabs to automatically open and close.

So, I would like for them to only show one at a time like this:

I’m working on a theme that is not live yet:

https://n91slya1fi75jwqn-87651647763.shopifypreview.com

Thanks in advance!

The term automatically is not the correct word to use here I believe I mean the user has to click to see another tab. I do get the point though, your first tab is already open on load of the page, you need that when the user clicks on another tab the other tab closes and the one that’s clicked only that remains open.

Am I getting this ri8?? If yes then this is achievable with js. If this is what you are looking for please reach out via mail for a convenient conversation and solution.

Thanks

Yes, this is what I mean

i will need collaborator access to your store to do this quickly and easily since you are on a paid theme and i am on a development store which does not allow to edit/add code in paid themes

Shopify URL: https://de097c-c4.myshopify.com/
Collaborator Request Code: 0057

Theme to work on:

hi @kingbeanz i have sent the request. Thank you for letting me know the theme to work on as well

Request accepted. Thanks for helping :slightly_smiling_face:

Okay so i made my changes. You can look at the theme which you asked me to customize. on load one is open automatically and only one remains open at a time. There is one issue but i left it as i feel this is more of a good feature that either of the one always remains open.

Hi Shadab,

I realise I don’t like the functionality. It’s not your fault at all!

I really appreciate kindness for helping me !

I’m terribly terribly sorry. Do you mind reversing the work that you did?

Again, very sorry for the inconvenience.

No worries man after all it’s your store and you have the final say.

You can actually revert it. Just go on main-product.liquid file. Below everything you will see a script comment that out so that the feature is reversed but you will have the code in case you wanna do it or something similar then you will have some code to start with. Or just remove it. Whatever feels best to you

Thanks

Thank you man, you’re the best!