1. Docs
  2. Guides
  3. Basic Usage

Basic Usage Guide

This guide will walk you through the basic features and functionality of ACOD Cash on Delivery. You'll learn how to create, manage, and optimize your COD fee settings for your Shopify store.

Creating Your First COD Fee Rule

To create a new COD fee rule in ACOD, follow these steps:

  1. Navigate to the "Rules" tab in your ACOD dashboard
  2. Click the "Create New Rule" button
  3. Set a name and description for your rule
  4. Configure the fee amount and conditions

Managing COD Fee Types

ACOD Cash on Delivery provides several ways to structure your COD fees:

  • Flat Fee: A fixed amount (e.g., ₹50) added to all COD orders
  • Percentage Fee: A percentage of the order total (e.g., 2%)
  • Tiered Fee: Different fees based on order value ranges
  • Location-based Fee: Different fees for different regions or postal codes

Setting Up Fee Conditions

ACOD uses conditions to determine when to apply fees. Here are some examples:

// Example COD Fee Conditions

// Flat fee of ₹50 for all orders
{
  "feeType": "flat",
  "feeAmount": 50,
  "conditions": "all"
}

// 2% fee for orders under ₹1000
{
  "feeType": "percentage",
  "feeAmount": 2,
  "conditions": {
    "cartValue": {
      "lessThan": 1000
    }
  }
}

// ₹100 fee for specific postal codes
{
  "feeType": "flat",
  "feeAmount": 100,
  "conditions": {
    "location": {
      "postalCodes": ["400001", "400002", "400003"]
    }
  }
}

Integrating with Shipping Methods

You can link COD fees to specific shipping methods by:

  • Going to the "Shipping Integration" tab in your dashboard
  • Selecting which shipping methods should have COD available
  • Setting custom fees for specific shipping methods

Pro Tip

Create a "free COD" rule for orders above a certain value to encourage larger purchases. For example, waive the COD fee for orders over ₹2000.

Next Steps

Now that you know the basics, you can: