NewFestival campaign scheduling is live — Try free for 7 days →

Hide COD for Specific Pincodes on Shopify

Restrict Cash on Delivery for high-RTO pincodes and recover ₹200–₹600 per returned order. Lokally removes COD at the real checkout level using Shopify Functions.

Install Lokally Free — 7-day trial →

Why Hide COD for Certain Pincodes?

Return-to-origin (RTO) is the largest preventable cost for Indian D2C brands. Industry average RTO rates run at 20–40% for COD orders. In high-RTO pincodes — typically areas with frequent fake orders, low internet penetration, or poor last-mile reliability — COD RTO can exceed 60%.

Each returned COD order costs ₹200–₹600 in shipping (both ways), lost packaging material, and relabelling. For a brand shipping 1,000 COD orders/month with 30% RTO in high-risk pincodes, that is ₹60,000–₹180,000 in monthly preventable losses.

Blocking COD in specific pincodes converts at-risk COD shoppers to prepaid — reducing RTO risk entirely for those orders. Shoppers who genuinely want to buy will use UPI, cards, or net banking.

How Lokally Solves This

Checkout-Level Restriction via Shopify Functions

Lokally hides COD at the actual Shopify checkout level using Shopify Functions. This is not a storefront display trick — the payment method is genuinely removed from the checkout for shoppers matching the pincode rule.

This means: no workarounds, no browser-extension bypasses, no shopper-side manipulation. If COD is hidden by Lokally for a pincode, that shopper cannot select it at checkout.

Surgical Pincode Targeting

Target individual pincodes, pincode ranges, or upload a CSV of thousands of pincodes. Most brands start with their 50–200 highest-RTO pincodes (identifiable from order history) and expand from there.

You can also target at state level for systemic high-RTO regions, or at city level for areas with known delivery reliability issues.

How to Set It Up

1

Install Lokally

Install from the Shopify App Store. 7-day free trial, no credit card required.

2

Open Payment Rules → New Rule

In the Lokally dashboard, navigate to Payment Rules and click 'New Rule'.

3

Select 'Hide payment method'

Choose 'Hide payment method' as the rule type.

4

Select Cash on Delivery

Select 'Cash on Delivery' (or the COD method name as it appears in your Shopify checkout) from the payment method list.

5

Select 'Pincode' and enter target pincodes

Choose Pincode as the location type. Enter your high-RTO pincodes individually or upload a CSV. The CSV can contain thousands of pincodes.

6

Publish

Publish the rule. Shoppers from the listed pincodes will no longer see COD as a checkout option — immediately, on all devices.

Real-World Examples

Ayurveda D2C Brand

Identified 300 pincodes responsible for 68% of their COD returns. Blocked COD for those pincodes via CSV upload.

Overall RTO dropped from 34% to 19% within 6 weeks. Savings: ~₹85,000/month.

Fashion Accessories Brand

Blocked COD statewide in 3 high-RTO states (Bihar, Jharkhand, Odisha) while keeping COD active in the rest of India.

RTO in those states dropped to near zero for prepaid orders. Continued COD sales from the states came from more committed buyers.

Electronics Accessories

Applied COD restriction only to orders above ₹1,500 in high-RTO pincodes, keeping COD available for low-value items.

High-value RTO dropped 71%. Low-value COD maintained for price-sensitive buyers who converted at higher rate with COD available.

Frequently Asked Questions

How do I know which pincodes have high RTO rates?

Start with your Shopify order history: export orders, filter for COD + returned status, and identify recurring pincodes. Lokally's community and support team also maintains a reference list of historically high-RTO pincode zones in India that you can use as a starting point.

Can I hide COD for an entire state instead of individual pincodes?

Yes. Lokally payment rules support pincode, city, state, and country as the target location. You can hide COD for an entire state (e.g., block COD statewide in regions with systemic high-RTO) or at the pincode level for surgical targeting.

What does a shopper in a blocked pincode see at checkout?

COD simply does not appear as a payment option at checkout. Shoppers see only prepaid options (UPI, cards, net banking). There is no error message — the option is just not available, the same as any payment method not enabled for your store.

Can I show a custom message explaining why COD is unavailable?

Yes. Lokally lets you configure a custom message that appears in the product-page pincode widget when a shopper enters a restricted pincode. Common messages: 'Prepaid only for this area' or 'COD unavailable — UPI and cards accepted.'

Does hiding COD affect all products or specific ones?

You can configure the rule to apply to all products or to specific products and collections. For example, you might block COD in high-RTO pincodes only for high-value items (where RTO cost is highest) while keeping COD available for low-value items.

Will this work with third-party payment gateways?

Yes. Lokally's payment method rules work with all payment gateways on your Shopify store. It hides the COD payment method type regardless of which gateway provides it.

Does Lokally's COD hiding work on mobile?

Yes. Shopify Functions execute server-side, so the rule applies to all checkout surfaces — desktop, mobile web, and the Shopify mobile app. There is no surface-specific exception.

Related Pages

Regional PricingAll Payment Method RulesCOD Management Use CasePincode Pricing

Start Reducing RTO Today

7-day free trial. No credit card required. Set up in under 10 minutes.

Install on Shopify →