I’m looking to remove the (1 in cart) text from the quantity button when something is placed in the cart for mobile and desktop
password samurai
A user wants to hide the “(1 in cart)” text that appears on quantity buttons when items are added to cart, affecting both mobile and desktop views.
Solution Provided:
Multiple respondents offered the same CSS-based fix:
.quantity__rules-cart {
display: none !important;
}
Status: The issue appears resolved with a straightforward CSS solution. One respondent included a screenshot demonstrating the successful result after applying the code.
I’m looking to remove the (1 in cart) text from the quantity button when something is placed in the cart for mobile and desktop
password samurai
.quantity__rules-cart {
display: none !important;
}
This will hide the “(1 in cart)” text from the quantity button on both mobile and desktop views.
Hi @undercoverfresh ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
.quantity__rules-cart {
display: none !important;
}
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
span.quantity__rules-cart {
display: none !important;
}
Result
Best,
Liz