Jump to content

Shopping cart page design

Recommended Posts

6 minutes ago, Banny said:

I have found the spacing between QTY and Price is weird in my shopping cart page.

You have not provided us with a link to the site (it's always a good idea to provide a working link) but from the screenshots it looks like you have added CSS and that this may be causing the issue. If you haven't added any custom code then please contact Squarespace Customer Care about the formatting issue because they are the only ones who can assist with technical issues.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
4 minutes ago, paul2009 said:

You have not provided us with a link to the site (it's always a good idea to provide a working link) but from the screenshots it looks like you have added CSS and that this may be causing the issue. If you haven't added any custom code then please contact Squarespace Customer Care about the formatting issue because they are the only ones who can assist with technical issues.

Got it! 

https://oooproject.squarespace.com/cart 

Here's my website.

Yes I have added CSS to my page, and I copied the code form different place so I am not sure how they work.😔

I put the custom code I am using here, any help would be much appreciated. 🙏🙏

Quote

input[type="number"] {
    padding-top: 2px !important;
    padding-bottom: 2px !important;       padding-left: 10px !important;
    padding-right: 20px !important;
}
.variant-select-wrapper {
    padding-top: 5px !important;
    padding-bottom: 5px !important;       padding-left: 10px !important;
    padding-right: -10px !important;
}
@media screen and (max-width:767px) {
.ProductItem-gallery-thumbnails {
    display: flex;
}
.ProductItem-gallery {
    flex-direction: column-reverse;
}
.ProductItem-gallery-slides {
    width: 100%;
}

.ProductItem-gallery .ProductItem-gallery-scroll {
    display: inline;
    place-items: center;
    margin-bottom: -170px;
  margin-top: 10px;
  }}
/* title price */
h1.ProductItem-details-title {
    margin-bottom: 15px !important;
}
/* price size */
.ProductItem-product-price {
    margin-bottom: 20px !important;
}
.product-price {
    margin-bottom: 10px !important;
}
/* quantity button */
.product-quantity-input {
    margin-bottom: 10px !important;
}
.ProductItem-details .ProductItem-details-checkout {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.ProductItem-product-price, .ProductItem-details-excerpt {
flex-basis:100%;
}
.sqs-add-to-cart-button-wrapper {
margin-bottom: 0 !important;
position: relative;
bottom: -17px;
}
.product-quantity-input {
flex-basis:30%;
}
.ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button {
padding-top: 1.5em;
padding-bottom: 1.5em;
}
@media screen and (min-width:767px) {
.sqs-add-to-cart-button-wrapper {
flex-basis:70%;
}
}
@media screen and (max-width:767px) {
.sqs-add-to-cart-button-wrapper {
flex-basis:65%;
margin-left: 4vw;

}
.sqs-add-to-cart-button {
    width: 100% !important;
}
body p, .sqs-layout .sqs-block.html-block p {
 text-align: justify !important;
}

 

Link to comment
14 minutes ago, Banny said:

Yes I have added CSS to my page

This is causing the issue. I recommend that you remove it and then only add CSS that you understand. Squarespace recently updated the cart so if you add CSS that was published before September, it is unlikely to work as originally intended and could “break” the cart.

As I say, if you add CSS without knowing what it does, you risk breaking critical functionality that will cause customers to abandon the site without purchasing.

Edited by paul2009

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.