Many Shopify merchants need to restrict the Cash on Delivery (COD) payment option based on various factors. While it's not possible to limit COD based on specific discounts applied, there are several other criteria you can use to control this payment method.
You can restrict the COD payment option based on the following factors:
Order total
Customer groups
Location
Products
Collections
Shipping methods
To implement these restrictions, you'll need to use a third-party Shopify app. Here are the steps to set it up:
Install a COD management app from the Shopify App Store. Some popular options include:
Once installed, navigate to the app's settings page.
Look for options to limit Cash on Delivery. These are usually found under a section called "Limit Cash on Delivery" or similar.
Set up your desired conditions. For example, you might choose to disable COD for certain products or when the order total is below a specific amount.
You can create custom checkout functions that allows you to edit the checkout based on custom logic. You can read more here - https://shopify.dev/docs/apps/build/functions
These apps typically offer a free trial period (often 7 days), allowing you to test the functionality before committing.
It's not possible to restrict COD based on specific discount codes or types (e.g., "Buy X for Y amount" discounts).
Adding extra shipping charges based on applied discounts is also not supported through these apps.
For more advanced checkout customizations, including hiding payment methods based on discount codes, you would need a Shopify Plus account, which allows for custom checkout scripts.
By using these apps and settings, you can effectively manage when the Cash on Delivery option is available to your customers, helping you streamline your order processing and reduce potential risks associated with COD payments.