Skip to main content

How to Block COD based on Cart Quantity Using Automations?

Stop high-quantity COD orders before they become returns. Set up this automation once and Shopflo automatically removes COD at checkout when a cart hits your set item limit.

Written by Swapnil Sangal
Updated this week

Large quantity COD orders carry a higher risk of rejection at delivery. When a customer loads up their cart and chooses COD, a return means you're covering shipping both ways with nothing to show for it. This automation removes COD as an option at checkout once the cart hits 10 items, so bulk orders have to be paid online.


How Do I Set This Up?

Step 1: Go to the Automations page, and Click on New Automations.

Image

Step 2: Select Start Blank to build a custom automation.

Image

Step 3: Choose Block Payment as your action.

Step 4: Search for and select Cash on Delivery from the payment methods list.

Step 5: Add a condition: select Cart Quantity.

Step 6: Set the minimum quantity to 10 and press Enter to confirm.

Image

Step 7: Give it a clear title, for example: "Block COD for carts with 10 or more items."

Image

Step 8: Choose which channels this automation applies to.

Image

Step 9: Set a start date and an optional end date for how long the automation should run.

Image

Step 10: Click Save.

Image

Step 11: Find your automation under the Payment Method section on the Automations page and toggle it on to activate it.

Image

πŸ’‘ The automation won't run until it's activated. Saving and activating are two separate steps.


Frequently Asked Questions

What does this automation do? It removes COD as a payment option at checkout when a customer's cart contains 10 or more items. Those customers will need to pay online to complete their order.

Why block COD based on quantity and not just cart value? Some high-risk orders have many low-cost items that don't cross a high cart value threshold but still carry a meaningful RTO risk. Quantity-based blocking lets you catch those orders that a value-based rule might miss. You can also run both automations together.

Can I change the quantity threshold from 10 to something else? Yes. Set whatever quantity makes sense for your business. Just enter your preferred number when setting the minimum cart quantity condition.

Do I need to set an end date? No, it's optional. If you want this to run as a permanent rule, leave the end date blank.

I saved the automation but COD is still showing at checkout. What's wrong? The automation is probably not activated yet. Go to the Automations page, find it under the Payment Method section, and toggle it on.

Can I block Split COD as well? Yes. When selecting payment methods to block, just add Split COD alongside Cash on Delivery.

Can I combine this with other conditions? Yes. You can layer additional conditions like customer type, RTO risk score, or customer segments on top of the cart quantity condition for more targeted control.

Did this answer your question?