Jump to content

Missing 'ADD TO CART' button?!

Recommended Posts

The reason your atc buttons are missing is you have installed Custom CSS on your site to hide them.

.ProductItem-details .sqs-add-to-cart-button-wrapper,.ProductItem-details .product-quantity-input {
  display: none
}

Remove it. Make a copy somewhere.

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

Hi, yes I saw this happened to someone else in the forum. Did Squarespace make changes? I often find they do and when I revisit my site font sizes have changed to something ugly. There's no way I would have added this code to purposely hide them as I've potentially missed customers.

Do you know how I search for this code in the panel? Other than scrolling down which takes an eternity.

Link to comment
Quote

Did Squarespace make changes?

SS does not make changes to your Custom CSS. Custom CSS is exclusively for your own use.

Quote

Is a troll coming into these feeds finding peoples sites and inputing this stuff I wonder.

This is very unlikely unless you've given someone your Squarespace account login info or added a contributor to your site with Administrator privileges.

Quote

Do you know how I search for this code in the panel? Other than scrolling down which takes an eternity.

One thing you can do is collapse folders, Navigation, and Hidden (Not Linked) to shorten the length of the scroll. The other thing to do is use the panel search feature and type in css.

Edited by creedon

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
10 minutes ago, mportch said:

I'm finding a few bugs in my site. I wondered how to make the checkout text in the button larger - it seems to have reduced to a sliver here and I didn't do this.

This isn't a bug, it is the result of Custom CSS that you or one of your contributors have added to the site. If you remove the Custom CSS (save it somewhere safe!) the font sizes will return to normal:

image.thumb.png.595534ba87f939f7529be051d93381c0.png

 

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
23 minutes ago, mportch said:

I've not added code to my CSS to make this look like this...I don't know what to delete to remove this.

For more information about editing custom code, please see Adding custom code to your site. To get you started, here are some examples of CSS that has been added to your site and that is affecting the cart:

.Cart-inner .icon-cart-quantity {
        font-size: 8px !important
    }

body#cart .cart-title {
    font-size: 20px
}

body#cart .item-desc a {
    color: #000;
    font-size: 15px;
    letter-spacing: 1.75px;
    font-family: gotham !important
}

@media screen and (max-width: 767px) {
    body#cart .item-desc a {
        color:#000;
        font-size: 11px;
        letter-spacing: 1px;
        font-family: gotham !important
    }
}

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment

Thanks - unfortunately I can't seem to find this code in the css panel - scrolled up and down many times - is there a way of searching for it?

However, I've tried temporarily cutting the whole code from the panel but this doesn't change the checkout box and text size.

Link to comment
7 hours ago, mportch said:

I've tried temporarily cutting the whole code from the panel but this doesn't change the checkout box and text size.

After removing it, you’ll need to save the changes and refresh the page for it to take effect. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
11 hours ago, mportch said:

Thanks but as I said, I can't find where this code is.

Copy all your code from Custom CSS panel, paste into word (edit: notepad) or something, save that so you can access it again.

Then remove all your code from Custom CSS panel, click Save, and refresh the page. 

Check to see if this resolves your issues. If yes, then your code is causing the issues. 

Edited by melody495

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Link to comment

I suggest not using a Word Processor to store your code. Word Processors will often break code by doing things like smartening quotes, which then causes syntax errors in code.

You should use a code editor or a text editor that doesn't do helpful things for you.

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
1 hour ago, mportch said:

 Delete that then paste back in.

No, don't paste it back in... Copy them from custom css, save somewhere as back up.

Then in custom css, remove all the code, click save and refresh the page. 

I would suggest hiring a developer if you are still struggling. If you can't maintain your own Custom CSS then this won't be the last time you'll run into issues unfortunately. 

 

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Link to comment
On 12/18/2023 at 5:39 PM, mportch said:

Hi,

Do you know how I make this 'checkout' font size bigger in desktop view only? (highlighted in red box in image attached)

This seems to have shrunk somehow.

Thanks in advance!

https://www.mattportch.com/cart

 

 

image.thumb.png.0f6dae52d19cd312a245d9829c364b1e.png

Add this to Website Tools (under Not Linked) > Custom CSS

@media screen and (min-width:992px) {
button.cart-checkout-button {
    font-size: 30px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.