FROM CACHE - en_header

Product tabs do not work when adding related products

isabasu
New Member
9 0 0

Hi

I'm using the Venture theme and wanted to add product tabs according to this manual. This worked great.

I also added "related products" according to this manual. Which works also great. 

However, the two manuals together don't seem to work. Once I enable the related products, the content of the tabs are all on the same, first, tab and I cannot switch between them. 

Does anyone know a fix or was having similar issues? I really don't want to invest in an app yet.

Replies 9 (9)
tim
Shopify Expert
3040 170 1099

Hi isabasu, 

the link to your shop will help so we can see what's not right there.

There is nothing wrong in using both these tutorials at the same time.

My post solved your problem? Like it!
isabasu
New Member
9 0 0

Hi tim

I've created a test store and the issue is happening there as well.

https://justaquickone.myshopify.com/collections/frontpage/products/test-product-1

PW: quickpw

tim
Shopify Expert
3040 170 1099

Uhm, just a quick first thought -- in your related products code replace:

data-section-type="product"

with 

data-section-type="collection"

The related products section does not contain elements which the theme javascript is looking for in the section of the type product. This leads to a javascript failure, which prevents execution of other scripts, and among them is the one which powers tabs.

My post solved your problem? Like it!
isabasu
New Member
9 0 0

That's great! It works. 

Thank you so much 🙂

vipservice
New Member
1 0 0

Thank yu very much

Anjali_Ahuja
New Member
2 0 0

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post. Escorts Services in Gurgaon | Independent Escorts Services in Grugaon
 

Anjali_Ahuja
New Member
2 0 0

I blog often and I truly thank you for your content.This great article has truly peaked my interest.I am going to bookmark your website and keep checking for new information about once a week.
http://www.gurgaoncompanion.com/

nehaapatel
New Member
1 0 0

Thank You So Much For Information.

 

For Escorts Services Pls Feel Free To Visit Our Officail Website :- http://www.nehaapatel.com/

slonamullen
New Member
1 0 0

Thank you for this wonderful post, great article, keep up the excellent work. kizi