Hide COD for Specific Products or Collections
Use a Product tag or Collection condition to hide COD only when certain items are in the cart — without affecting COD availability store-wide.
Setup (product tag)
Section titled “Setup (product tag)”Tag the products that should not allow COD (e.g. no-cod) in Shopify admin → Products, then:
- Create customization > Hide payment methods.
- Add Product tag → Matches any item → Is one of →
no-cod. - Target COD: Pre-defined →
Cash on Delivery, or Text contains if the checkout label differs. - Active, Save, and verify at checkout with a tagged product in the cart.

Related
Section titled “Related” Cart & Order conditions Product tags, collections, totals, and quantities.
Product Attribute conditions SKU, vendor, type, metafields, and more.
Hide COD for high-value orders Amount-based COD restriction.