Jump to content

Can't edit or remove page code injection code on store pages

Recommended Posts

Site URL: https://squid-poodle-dnew.squarespace.com/events

I have been using some custom code to add filters to a site I am working on (the code is for the plugin 'universal filters'). The filter on the store page was working fine for the last 3-4 weeks whilst I was building the site until yesterday, but suddenly it stopped working. I have another filter on the home page of the site using effectively the same code, just with different options selected, and that is still working fine. I presume this is related, but I have also started to see errors in the store page. The store has changed to be a blog according to the menus, although it sometimes appears as a store still and sometimes as a blog. I also can't save the menu that appears when you click on the cog for the store page.

Obviously my first thought was to remove the code to see if it made any difference, but I cannot remove the code as I cannot save anything in that window. I click the save link but nothing happens. I spoke to squareSpace support and they said to take all the custom code out and see if that fixed it. They seemed to be able to remove the code, as it was removed when I was on the live chat, but as part of testing I added it back in and now I can't remove it again.

I am not sure if this is actually related to the code though to be honest, as even when customer support removed the code the issues persisted. I have noticed that there seems to be an updated version of the product pages in my account and I am wondering if it is some kind of bug related to this. Is anyone else seeing anything similar or does anyone know how I can resolve it?

The site is here https://squid-poodle-dnew.squarespace.com/ and the store page is here https://squid-poodle-dnew.squarespace.com/events

Link to comment

You can put your site into a "safe mode" to prevent the custom code from loading. To do this open your site whilst adding "/safe", like this:

https://squid-poodle-dnew.squarespace.com/config/safe

You can then see if it runs correctly. I cover this in my guide Squarespace URL Queries.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
8 hours ago, OnceAVillan said:

Site URL: https://squid-poodle-dnew.squarespace.com/events

I have been using some custom code to add filters to a site I am working on (the code is for the plugin 'universal filters'). The filter on the store page was working fine for the last 3-4 weeks whilst I was building the site until yesterday, but suddenly it stopped working. I have another filter on the home page of the site using effectively the same code, just with different options selected, and that is still working fine. I presume this is related, but I have also started to see errors in the store page. The store has changed to be a blog according to the menus, although it sometimes appears as a store still and sometimes as a blog. I also can't save the menu that appears when you click on the cog for the store page.

Obviously my first thought was to remove the code to see if it made any difference, but I cannot remove the code as I cannot save anything in that window. I click the save link but nothing happens. I spoke to squareSpace support and they said to take all the custom code out and see if that fixed it. They seemed to be able to remove the code, as it was removed when I was on the live chat, but as part of testing I added it back in and now I can't remove it again.

I am not sure if this is actually related to the code though to be honest, as even when customer support removed the code the issues persisted. I have noticed that there seems to be an updated version of the product pages in my account and I am wondering if it is some kind of bug related to this. Is anyone else seeing anything similar or does anyone know how I can resolve it?

The site is here https://squid-poodle-dnew.squarespace.com/ and the store page is here https://squid-poodle-dnew.squarespace.com/events

Here is your store page, what exactly the issue?

image.thumb.png.374bc2bc9a5f5f12cdd2e1978c5b54a5.png

If you are referring to this one

image.thumb.png.e7ef6b2795d960e7be26e79cd06539f4.png

then maybe it's the issue of the universal filter plugin where is try to call and api url which is not allow to be run on frontend (without admin login)

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
32 minutes ago, OnceAVillan said:

I'm not sure the custom code is the issue

Can you explain the issue that you are concerned about? 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

@bangank36 Thanks for your reply. I've since spoken to SquareSpace support again and they have confirmed this is an issue on their side. The problem seems to be the store pages are being rendered as blog pages or that the store and blog functions are somehow getting mixed up. A strange issue. It just suddenly appeared in our account 2 days ago, when parts of the store page started to show blog features (a blog icon instead of a store icon, a blog settings menu and the page rendered as a blog). But the store features also periodically return too. Not sure why, but they are escalating it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.