Skip to content

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.

Tag the products that should not allow COD (e.g. no-cod) in Shopify admin → Products, then:

  1. Create customization > Hide payment methods.
  2. Add Product tagMatches any itemIs one ofno-cod.
  3. Target COD: Pre-definedCash on Delivery, or Text contains if the checkout label differs.
  4. Active, Save, and verify at checkout with a tagged product in the cart.
Example: hide Cash on Delivery when any cart item carries the "no-cod" product tag
Example: hide Cash on Delivery when any cart item carries the "no-cod" product tag