A merchant added a Quick View button to the “pairs well with” (complementary products) section via pr-complementary-loop.liquid, including custom styling and a translation key (complementary.quick_view_text = “Quick Add”). The store sells digital products, so they wanted to remove the quantity selector in the Quick View modal.
Suggested options:
Third‑party app to restrict quantity storewide (may also affect normal product quantity).
Recommended: hide only the Quick View quantity field with CSS:
.t4s-product-quick-view form .t4s-product-form__qty { display: none; }
Outcome: Adding the CSS to base.css worked; the quantity selector is hidden.
New requests: Enlarge the Add to Cart button and remove the “Availability: In Stock” line in the Quick View popup.
Status: Follow‑up guidance (CSS/Liquid selectors) to increase the button size and hide the availability text is pending. Screenshots were shared; site URL: https://happyoff.com.
Summarized with AI on December 13.
AI used: gpt-5.
/* Ensuring that the styles have more specificity */
.t4s-pr-item-btn:hover,
.t4s-pr-item-btn:hover svg,
.t4s-pr-item-btn:hover span {
color: #000000 !important; /* Brighter brown for text on hover */
fill: #000000 !important; /* Brighter brown for icon on hover */
}
but this will remove normal product quantity as well so in my recommendation the best solution is to hide the Quantity selector from that popup using Css
add this CSS into your base.css or theme.css file to remove the quantity from the popup only
.t4s-product-quick-view form .t4s-product-form__qty {
display: none;
}
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!