Remove Product Quantity Selector From Cart

Solved

Remove Product Quantity Selector From Cart

martujv
Trailblazer
232 2 46

Hello!

 

Basically I want to remove the "quantity selector" option from the cart (I have the mini cart activated) in my store.

 

Captura de pantalla 2024-06-05 a las 23.30.53.png

 

My Theme is Stiletto and my website is www.winnerofficial.com 

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
10092 2398 3030

This is an accepted solution.

Hi @martujv 

Do you mean remove in your quick cart? 

If it check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.quick-cart__items .quantity-input {
    display: none;
}

 

And Save. 

Result:

Made4uoRibe_0-1717623828458.png

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

PageFly-Noah
Shopify Partner
1317 233 281

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @martujv  Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
.quick-cart__item-bottom .quantity-input{
display: none !important; 
}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10092 2398 3030

This is an accepted solution.

Hi @martujv 

Do you mean remove in your quick cart? 

If it check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.quick-cart__items .quantity-input {
    display: none;
}

 

And Save. 

Result:

Made4uoRibe_0-1717623828458.png

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

devcoders
Shopify Partner
1261 149 357

Hi @martujv 

 

- Go to Online Store -> Theme -> Edit code.
- Find the file assets/theme.css and paste the code below at the bottom of the file.

 

.cart.page .quantity-input {
display: none;
}
Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

PageFly-Noah
Shopify Partner
1317 233 281

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @martujv  Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
.quick-cart__item-bottom .quantity-input{
display: none !important; 
}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.