Help! Where is : window.location.href =

Highlighted
Tourist
9 0 2

Not all themes can locate the codes for change.

I've contacted Shopify support, they told me to make sure my browser is update (Chrome would always be), then clear all my cookies and browsing history.  It fixed the problem.

0 Likes
Highlighted
Tourist
5 0 0

I have the same problem please help

Thanks

0 Likes
Highlighted
Shopify Partner
274 22 38

Hey Both of you.  I assume you are finding an error in the editor.  More than likely this is just the editor being picky.  Try to do the exact same thing from the customer perspective.  If it works fine, then its just shopify Editor being picky about the code.

 

If you want it updated, I am happy to take a look (no charge).  If you provide your .myshopify.com address I can send you a collab request to take a look.

Best Regards,
Duncan.
Isle of misfit code & development
http://ecomdev.ca
0 Likes
Highlighted
New Member
2 0 0

hi there, what do you mean by older themes?
Do you mean that we have to edit the older themes? Im confused

0 Likes
Highlighted
New Member
1 0 0

onde está o window,location.href= meu tema e supply...por favor me ajudem

0 Likes
Highlighted
New Member
1 0 0

window.top.location.href =

 

Hi, 

 

A Shopify Expert added a login page to my site. Now, I want to sell wholesale and retail on that site so I am creating a Wholesale login. How can I transfer that page that was created to the wholesale menu button so that retailers don't see it when they go to my site.

 

Also I am getting a message when I click on customize that tells me to replace:

 

window.location.href =   by   window.top.location.href = 

 

where and how do I do these things? Anyone knows?

0 Likes
Highlighted
New Member
2 0 2
You can find it at assets / theme.js code entry no. 137
2 Likes
New Member
6 0 0

thank you so much !!!

0 Likes