Unwanted Subcollection Page Redirect

Solved
SaltyDogMarine
New Member
3 0 0

Hi there,

I'm having an issue where my collection pages that are a subcollection layout will redirect to a basic collection layout and add "?view=no-usf" to the end of the URL after about 5 seconds. To see what I mean you can go here: https://saltydogmarinesupplies.com/collections/shop Does anyone know how to make it so these collections don't redirect?

0 Likes
Jivan_Suhagiya
Shopify Partner
494 68 102

This is an accepted solution.

Hi @SaltyDogMarine 
In usf.js there is function which is doing this. not sure why you(developer) used this one. but you can remove calling of this function from that js file and it will be fixed 

Jivan_Suhagiya_0-1618920776144.png

 

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
0 Likes
SaltyDogMarine
New Member
3 0 0

Thank you, I'm not a developer it may have been in the theme I'm using for some reason. Is it as easy as just deleting that part of the js code or will that "break" the site?

0 Likes
Jivan_Suhagiya
Shopify Partner
494 68 102

you can't delete it directly, it may break site. you need to remove that functions calling too

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
0 Likes