Skip to main content

How to Hide Cash on Delivery based on State

This guide will walk you through the steps to hide the Cash on Delivery (COD) payment option for specific states in your Shopify store. By the end of this guide, you'll have the ability to control the availability of the COD option based on your customer's location at the state level. For a more visual guide, we've also included a video tutorial below to help you through the process.


Video Tutorial

For a step-by-step visual guide, watch our video tutorial below:


Step-by-Step Instructions

Step 1: Install the Advanced Cash on Delivery App

  1. Go to the Shopify App Store.
  2. Search for Advanced Cash on Delivery.
  3. Click on Install button to install it.

image.png


Step 2: Open the Advanced Cash on Delivery App

  1. Once the app is installed, navigate to Apps in your Shopify admin dashboard.
  2. Select Advanced Cash on Delivery to open it.

image.png


Step 3: Configure the App to Limit COD Based on Location

  1. Inside the app, find the Limit COD Based on Location option.
  2. Click on the Configure button.

image.png


Step 4: Click On State and Enable the feature

  1. Locate the Status toggle.
  2. Switch the status to Enabled.

image.png


Step 5: Select the State

  1. From the Condition dropdown menu, select the option Hide COD for This State.

image.png

  1. Write the state code where you want to hide COD.

image.png


Step 6: Save Your Changes

  1. After selecting the desired state(s), click on the Save Changes button to apply your settings.

image.png


Testing the Setup

Step 1: Open Your Online Store

Navigate to your Shopify store's online storefront.

image.png


Step 2: Add a Product to the Cart

Select any product and add it to the cart. Proceed to checkout.

image.png


Step 3: Test a Restricted State

  1. At checkout, enter an address from a state where COD is disabled.
  2. Verify that the COD payment option does not appear.

image.png


Step 4: Test an Allowed State

  1. Repeat the checkout process using an address from a state where COD is enabled.
  2. Verify that the COD payment option appears correctly.

image.png


Conclusion

You've successfully configured your Shopify store to hide Cash on Delivery (COD) for specific states. This ensures that customers in restricted regions will not see the COD option during checkout, aligning your payment options with your business needs.