Remove quantity (selector and force display to 1) using GRID theme

Topic summary

Goal: Hide/remove quantity selectors and force quantity to 1 for unique products in the Grid (Pixel Union) theme on product and cart/payment pages.

Steps taken: A helper requested a preview link; the store preview URL was shared. Instruction given to edit theme.liquid and paste code right after the tag; a screenshot was referenced. The exact code snippet is not visible in the text, making the attachment central to understanding the fix.

Outcome: The change worked to remove/lock quantity as intended.

New issue: If a customer adds the product to cart, then navigates back to the product page and adds it again, Shopify returns a /cart/add error (“something went wrong – error cart”).

Latest update: The helper cannot reproduce the error and suggests it may be user-specific, offering no further diagnosis in the thread.

Status: Partially resolved. Quantity controls are removed, but the duplicate add-to-cart error remains unresolved and needs further investigation or reproducible steps.

Summarized with AI on January 1. AI used: gpt-5.

Hey @Emmbru75 ,

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.


Screenshot is for reference only, the correct code to paste is the one shown above.