Unwanted Subcollection Page Redirect

Solved
SaltyDogMarine
New Member
4 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?

Accepted Solution (1)

Accepted Solutions
Jivan_Suhagiya
Shopify Partner
515 74 113

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

View solution in original post

Replies 8 (8)
Jivan_Suhagiya
Shopify Partner
515 74 113

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
SaltyDogMarine
New Member
4 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?

Jivan_Suhagiya
Shopify Partner
515 74 113

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
kejiazhang123
New Member
1 0 0

Hi, thank you for the solution! But how do I find this coding page? I went to the theme and edit the code, and tried every collection coding page.

lu2021lu
Tourist
5 0 1

that solution does not work, the "redirectooriginaview" cannot be deleted

youcantgoogleme
Tourist
5 0 3

Hey, i got the same problem. 
Is it maybe caused by an app? 
Did you have this app installed? 
Did you find a solution? 

Ah they took out the url of the app. 
Its the Ulimate search and Filter ... 

Quality e-commerce solutions since 2010.
Jivan_Suhagiya
Shopify Partner
515 74 113

Hi @youcantgoogleme 
can you please share site url and issue details? in which page exactly happens?

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
youcantgoogleme
Tourist
5 0 3

Thank you i found the problem. 
It's because of a missing USF App integration.
The files of the app are in the theme but the App is not installed.

Quality e-commerce solutions since 2010.