Jump to content

How can I hide the 'Quantity Select' field on a product page?

Go to solution Solved by Trey_SQSP,

Recommended Posts

On 10/31/2020 at 9:20 AM, tuanphan said:

Edit Product > Additional Info > Add Code Block > Paste your Shopify Code

If you want to move it to any position in Description, please describe in detail, we can help easier

You are amazing thank you!

Link to comment
  • 1 month later...

Hello!

I used this code for the product page and it worked perfectly! (thank you) I was wondering if someone had a code created also to remove the qty. when you are on the shopping cart page?

I've just uploaded an image below with the area circled. 

Screen Shot 2020-12-29 at 5.19.48 PM.png

Link to comment

Add the following to Design > Custom CSS.

/* hide cart quantity */

.CartTable-itemQuantity-225eT,
.CartTableRow-itemQuantity-LwuRx

  {
  
    display: none;
    
    }

This will hide all quantities on the cart page.

Let us know how it goes.

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
On 12/29/2020 at 5:32 PM, creedon said:

Add the following to Design > Custom CSS.


/* hide cart quantity */

.CartTable-itemQuantity-225eT,
.CartTableRow-itemQuantity-LwuRx

  {
  
    display: none;
    
    }

This will hide all quantities in on the cart page.

Let us know how it goes.

I'm afraid that didn't work for me 😞

Link to comment
1 hour ago, morepostal said:

I'm afraid that didn't work for me 😞

Please post the URL for you site.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

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
On 12/31/2020 at 1:06 PM, creedon said:

Please post the URL for you site.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

We can then take a look at your issue.

the website is www.morepostal.com .... thank you ! 

Link to comment
On 12/31/2020 at 11:47 AM, morepostal said:

I'm afraid that didn't work for me 😞 .

Works a treat for me when I modify your site locally.

526018263_ScreenShot2021-01-02at5_59_19PM.thumb.png.d353f64f26f5e535cceb5cccef8225e6.png

Have you refreshed you cart page? Are you viewing your site in Full Preview or in an Incognito window?

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
17 hours ago, creedon said:

Works a treat for me when I modify your site locally.

526018263_ScreenShot2021-01-02at5_59_19PM.thumb.png.d353f64f26f5e535cceb5cccef8225e6.png

Have you refreshed you cart page? Are you viewing your site in Full Preview or in an Incognito window?

So strange, it's still not working. I'll post the screen shot if theres anything notably wrong. Is it maybe because you aren't able to edit the appearance of the cart page? I know that the checkout page you aren't able to edit the appearance with css. I also have inputted the qty hide from the thread above and it worked, am I improperly separating the two codes?

 

( I also refreshed on a new tab and it's not working there either) 

848357282_ScreenShot2021-01-03at11_22_56AM.thumb.png.9f83260f1b8316bc82863b4218a6f531.png

Edited by morepostal
Link to comment
1 hour ago, morepostal said:

So strange, it's still not working. I'll post the screen shot if theres anything notably wrong.

You will need an !important on line 8 of your screenshot, so that it reads

display:none !important;

Once you've saved this and then refreshed the cart page, it should remove the Qty column.

  If this helps you, please click "Like" 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
On 1/3/2021 at 12:41 PM, paul2009 said:

You will need an !important on line 8 of your screenshot, so that it reads


display:none !important;

Once you've saved this and then refreshed the cart page, it should remove the Qty column.

  If this helps you, please click "Like" below  ⬇️

 

On 1/2/2021 at 6:04 PM, creedon said:

Works a treat for me when I modify your site locally.

526018263_ScreenShot2021-01-02at5_59_19PM.thumb.png.d353f64f26f5e535cceb5cccef8225e6.png

Have you refreshed you cart page? Are you viewing your site in Full Preview or in an Incognito window?

I got it to work now with the combo of both these posts. Thank you for your help! 

Link to comment
  • 1 year later...
10 minutes ago, ErikaLynn said:

I want remove the qty dropdown from the fabric store but not the pillow store.

Did you see the answer provided in the other thread where you asked this question?

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
  • 2 weeks later...

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.