Jump to content

Add to cart button is disappearing?

Go to solution Solved by creedon,

Recommended Posts

Please help- my add to cart button has disappeared off every product in my shop. When I edit buttons while on a product page it appears, as soon as I exit editing its gone again. Whats going on?!!! I have no idea how long its been like this!

edited to add: seems the culprit is some custom code i added a long time ago. not sure what for. how do i remove it? custom css panel is blank?

Edited by mvh
context
Link to comment
  • mvh changed the title to Add to cart button is disappearing?

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
21 minutes ago, creedon said:

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

So squarespace support replied to me to let me know its likely some custom code causing the problem. I do remember adding some but can't remember what for its like 4 years old now.

link: https://www.mvhjewellery.com/

when I open the custom css panel its blank- how do i remove the old code?

Link to comment
  • Solution

The code is in Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

Remove the following.

<style>

  .ProductItem-details .sqs-add-to-cart-button-wrapper {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
26 minutes ago, creedon said:

The code is in Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

Remove the following.

<style>

  .ProductItem-details .sqs-add-to-cart-button-wrapper {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

This seems to have worked! I did get an error message, but can't see if that error has done anything unwanted:

Couldn’t update collection

These items cannot be set as Category ordered item ids because they do not belong to categories including 61a93714bcce345c755d1b2f

 

Link to comment
29 minutes ago, creedon said:

The code is in Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

Remove the following.

<style>

  .ProductItem-details .sqs-add-to-cart-button-wrapper {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

THANK YOU x A MILLION 🙂

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.