A Shopify or theme problem?

Solved
Tourist
7 0 0

When one clicks on the Vendor link in a given Product page, a page with a side-bar emptied of content is displayed:
https://comfort1shoes.myshopify.com/collections/vendors?q=Vionic

Then, even worse, when one clicks here on Vendor, an empty page is displayed:
https://comfort1shoes.myshopify.com/collections/vendors

 

The same thing happens with type:
https://comfort1shoes.myshopify.com/collections/types?q=Women%27s%20Casual
https://comfort1shoes.myshopify.com/collections/types

 

Our theme is Turbo Protland. However, when I try the same links in Shopify's default themes, the same behavior is observed. This makes me believe that these are Shopify issues.

 

Can someone confirm or deny this? Any ideas or pointers how to fix the problem? And what really are 'vendors' and 'types' which appear in the URLs as collections but are not user-defined collections?

 

Thanks.

0 Likes

Success.

Shopify Partner
1056 117 170

It's the way it is coded. You can see the piece of code doing the "magic" by removing the items in the sidebar under assets/utilities.js:

...
    //Hide filters if types or vendors is in URL (can't be combined)
    if ($.url(2) === 'types' || $.url(2) === 'vendors'){
      $('.sidebar__collection-filter').remove();
    }
...

The issue with the completely empty pages sounds more like related to the Turbo theme. 

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
1 Like
Tourist
7 0 0

Thanks a lot Sergiu! I commented the "Hide filters if types or vendors is in URL" condition and the side-bar is not empty on these URLs anymore.

 

I was also able to resolve the other issue with the empty pages for links to 'vendors' and 'types' by unchecking the "Show breadcrumb links" option in the Collection pages set-up.

 

Of course, these solutions are hacks and don't make the Turbo theme less buggy. But at least they are helpful workarounds.

 

Thanks again.

 

 

0 Likes