Jump to content

Incorrect quantity in cart.

Go to solution Solved by Baileyrookie,

Recommended Posts

Hi all, 

I'm having some trouble with some custom code I input into my website. I'm still trialling at the moment, but basically there's nothing in the basket but it's showing 4 products in.

I've used the following code, can someone assist please? 

Thanks in advance. 

 

Code: 

// Header Nav Width Adjustment
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
  flex: 0 0 100%;
}
 .header-actions-action--social {
  position:absolute;
  top:330%;
  flex-direction:column;
  right:1vw;
}
.header-actions-action--social .icon {
  margin-left:-10px !important;
  margin-bottom:20px ;
}
@media screen and (min-width:768px) {
  .header-actions-action--cart{
    position: absolute;
    right: 3px;
    top:81%;
  }

 .header-actions--left {
    position: absolute;
  }}

Link to comment
  • 2 weeks later...

@tuanphan @creedon @Ziggy

I have had this same issue for the past couple days as I've been testing. Sometimes 9, sometimes 2, the amount varies but is irrelevant. Each time my cart is confirmed empty but shows a quantity on "some", not all pages. This issue is present on Chrome, Safari MacOS & Safari ios and even Chrome Incognito"

I've cleared all chrome cookies and to be sure I cleared my all-time browsing data. I enter my site as a visitor and it shows (9) items in cart and when I open the cart even though it's empty. 

I've attached a screen recording showing cleared cookies, history and the issue present.

Link to comment

@tuanphan @creedon @Ziggy @Lesum

I have had this same issue for the past couple days as I've been testing. Sometimes 9, sometimes 2, the amount varies but is irrelevant. Each time my cart is confirmed empty but shows a quantity on "some", not all pages. This issue is present on Chrome, Safari MacOS & Safari ios and even Chrome Incognito"

I've cleared all chrome cookies and to be sure I cleared my all-time browsing data. I enter my site as a visitor and it shows (9) items in cart and when I open the cart even though it's empty. 

I've attached a screen recording showing cleared cookies, history and the issue present.

Squarespace Recording Cart Quantity.mov

Edited by ccxwood
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.