Jump to content

Store Page > Quantity Up / Down icon

Recommended Posts

In the theme we have chosen the quantity increase decrease arrows are too small and visible only on hover.  Customers are unable to increase quantity. Is there a way to increase the size of the up/down arrows and make them always visible. 

Thanking you in advance. 

Link to comment

In the theme we have chosen the quantity increase decrease arrows are too small and visible only on hover.  Customers are unable to increase quantity. Is there a way to increase the size of the up/down arrows and make them always visible. 

See screenshot below

Thanking you in advance. 

 

Screenshot from 2024-08-22 07-14-40.png

Link to comment

There's more detail in the post below (along with some potential workarounds) but essentially how the arrows display is set by the browser, so it's trickier to customise with code. 

In addition to the arrow buttons, customers can type their desired quantity into the box. On desktop, they can also click into the quantity box and use the up and down arrows on their keyboards to increase/decrease the quantity. 

 

Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee 

Link to comment

Thank you katycarlisle. Looks like there is not solution for this critical issue. Is this the same with all SqSp templates? 

I am losing business because of this. People wanting to buy more than 1 unable to buy more than 1. 

Thank you anyways. Enjoy your weekend. 

Link to comment
On 8/22/2024 at 2:48 AM, eZeeBags said:

the quantity increase decrease arrows are too small and visible only on hover.  Customers are unable to increase quantity. Is there a way to increase the size of the up/down arrows and make them always visible. 

Hey @eZeeBags

It will depend on which browser/platform your users are experiencing difficulties with. Have you spoken to any of them about the browser they are using?

Regardless of the buttons, all users, on all platforms, should be able to tap into the box and type a quantity. That said, I agree that the spin buttons can be very small on desktop platforms and, by default, they only appear on hover. 

Chome example on hover: image.png.9bb3eadaf0623fd329bdeb5869418631.png

 

Adding to @katycarlisle's comments, it is very difficult to get a consistent result across different browsers and platforms because the Quantity box uses the native input element and this is rendered differently in each.

That said, I can improve the situation on Chrome, Safari and Edge (not Firefox). The following screenshots were taken after my CSS was applied, without hovering over the control:

Chrome/MacOS:

 image.png.aa50d8892206d44f4f3d8f796a740c9b.png

 

Safari/MacOS:

image.png.91ea973ee0e677c8d89fafe956610811.png

 

Opera/MacOS:

image.png.19480204fbe64b2264434675bd011ce0.png

 

Edge/Windows:

image.png.6f2e4e503c5de32a68ef1abe9f422ea6.png

 

Add to Custom CSS:

/* Always show quantity up/down */
/* tip by SF.DIGITAL            */
.product-quantity-input {
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    opacity: 1; /* visible always */
     transform: scale(2); /* larger */
  }
}

Not production tested.

If you require more control over the way users change the quantity, you will need to write some Javascript to add your own controls. For example:

 image.thumb.png.fc8dbcf70386b952cbbc5d5a6ed57d16.png

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

Edited by paul2009

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

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.