Most Algerian online stores sell with cash on delivery (COD). Customers do not want a cart, an account or a long checkout: they want to type their name and phone, pick their wilaya and commune, and confirm. This plugin puts that form directly on the product page and creates a normal WooCommerce orde
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.3 and PHP 7.4.
SourceWordPress plugins · Nov 20, 2026
01 / Source details
Aboutthistool.
Most Algerian online stores sell with cash on delivery (COD). Customers do not want a cart, an account or a long checkout: they want to type their name and phone, pick their wilaya and commune, and confirm. This plugin puts that form directly on the product page and creates a normal WooCommerce order.
Features
All 69 wilayas (including the 11 created in 2025) and 1541 communes , in Arabic or Latin script.
Commune list filtered by the chosen wilaya.
Delivery price per wilaya , separately for home delivery and stop desk (office pickup). Disable wilayas you do not deliver to. Optional free delivery above an amount.
Form fields you control : show/hide, required, label and placeholder for every field, plus optional second phone, email and order note, and up to 6 custom fields (text, long text, dropdown, checkbox) saved on the order.
Import delivery prices automatically from Yalidine, ZR Express or your Ecotrack courier, or from a Google Sheet (template included, optional daily sync). New wilayas get their former wilaya’s price.
Quantity offers per product: clickable packs like “1 for 3,500 · 2 for 6,000 · 3 for 8,000”, with a fixed pack price or a % discount, optional badge (“Best value”) and free delivery per pack. Prices are always recalculated on the server.
Abandoned orders : visitors who type a valid phone number but do not confirm are saved (after a 15-minute grace period) in WooCommerce → Abandoned orders, with call and WhatsApp buttons and one-click “Create order”. Automatically deleted after a period you choose.
Confirmation desk (WooCommerce → Confirm orders): call new orders and record the outcome in one click — confirmed, no answer, call later, cancelled — with WhatsApp messages, automatic cancel after N unanswered calls, and per-agent statistics.
Parcel tracking : delivered / returned / in transit pulled from Yalidine, ZR Express and Ecotrack every 3 hours; orders move to Completed or the new “Returned (refused)” status automatically.
Customer history and repeat refusers : every order shows how many earlier parcels the phone number accepted or refused; repeat refusers can be put on hold or refused.
Meta Conversions API and TikTok Events API : server-side Purchase events deduplicated with the browser pixels, with the option to count a purchase only when the order is confirmed by phone.
Free delivery per product : choose which products ship free — home, stop desk or both, everywhere or only in the wilayas you pick. The form shows a “Free delivery” badge and the fee is removed on the server.
Request a feature screen: ask for features or another delivery company, or report a problem, straight from WordPress.
One-click upsell after the order: add a discounted product to the same order with one tap.
COD dashboard : orders, confirmation rate, delivery rate, cash collected, losses on returns, best products and wilayas.
Arabic and French included.
Live order summary: product, delivery, total.
Simple and variable products, quantity selector.
Anti-fraud : Algerian phone validation (+213 accepted), duplicate detection by phone (block, or accept and put On hold), blocked phone list, per-IP rate limit, bot honeypot.
Google Sheets export through a small Google Apps Script (no Google account connection needed). Status changes update the sheet.
Delivery companies : send orders to Yalidine , ZR Express and any courier on the Ecotrack platform (DHD, Conexlog/UPS, Rex, MSM Go, Rocket, 48hr, Golivri, EcoRapide and more: paste its address). One click per order, bulk sending from the orders list, or automatic sending when an order reaches a status you choose. Tracking number and label saved on the order and pushed to Google Sheets.
CSV export of form orders (opens correctly in Excel with Arabic).
Fires Meta Pixel Purchase , TikTok CompletePayment and GA4 purchase events if those pixels are already on your site, plus a dzcod:order JavaScript event for custom tracking.
Shortcode [dzcod_form] , automatic placement on product pages, and an Elementor widget .
Works with full-page caching (nonce is refreshed automatically).
Source code, build-free (no compiled files), and issues: https://github.com/xthegodfatherx/dz-cod-order-form
External services
This plugin only contacts outside services that you configure yourself:
Google Apps Script (Google): when you enter a web app URL, each new order (name, phone, wilaya, commune, address, products, totals, status) is sent to your own script so it can be written to your Google Sheet. Terms , Privacy .
Your delivery company : only when you connect one in the Couriers tab and send an order (manually, in bulk or automatically), the customer name, phone, wilaya, commune, address, products, order number and amount to collect are sent to that company’s API so it can create the parcel. When you click “Import” on the Delivery prices tab, the company’s price list is read from the same API (nothing about your customers is sent). The company is the one you choose: Yalidine (api.yalidine.app): creates parcels, reads their status and delivery prices. Transport conditions , Privacy policy .
ZR Express (procolis.com, the API of ZR Express): creates parcels, reads their status and delivery prices. Privacy policy . ZR Express publishes no separate terms of use; the terms are those of your contract with ZR Express.
A courier that runs on the Ecotrack platform : you type your own courier’s Ecotrack address (it must end with .ecotrack.dz) and the token that courier gave you; the plugin contacts only that address. The terms and privacy policy that apply are those of the courier you signed a contract with; ask that courier for them before connecting it.
Parcel tracking : when parcel tracking is on, the tracking numbers of your parcels are sent to the same delivery company every 3 hours to read their status.
Meta Conversions API (Meta Platforms): when you enter a dataset ID and access token, a Purchase event is sent to graph.facebook.com for each order (or each confirmed order). It contains the order value, currency, product IDs and quantities, the order number, the page address, the visitor’s IP address and browser, the _fbp / _fbc cookies, and the phone number, first name and commune hashed with SHA-256 . Terms , Privacy .
TikTok Events API (TikTok): when you enter a pixel code and access token, a CompletePayment event with the same kind of data (phone hashed with SHA-256, IP address, browser, _ttp cookie, order value and products) is sent to business-api.tiktok.com. Terms , Privacy .
Delivery price import from Google Sheets (Google): when you paste a sheet link and click “Import from sheet now”, the sheet is downloaded as CSV from docs.google.com (or from the CSV address you entered). With the daily sync option, it is downloaded once a day. Nothing about your customers is sent. Terms , Privacy .
GitHub (feature requests): the “Request a feature” screen does not contact any server. Only when you click “Continue on GitHub” does your browser open github.com with the text you typed (and, if you leave the box ticked, the plugin, WordPress, WooCommerce and PHP version numbers). Terms , Privacy .
Nothing is sent anywhere until you configure these services. The Meta and TikTok server events are off by default: they are tracking tools, so only switch them on if your visitors have agreed to it where your law requires consent (for example through your cookie banner), and mention them in your privacy policy.
02 / Source details
Gettingstarted.
01Install and activate WooCommerce.
02Upload the plugin and activate it.
03Go to WooCommerce → DZ COD Form and set your delivery prices.
04Open any product: the form is there. Or place [dzcod_form product_id="123"] / the Elementor widget wherever you want.
03 / Source details
Frequently asked questions.
Where do the wilaya and commune names come from?
From the geoalgeria dataset (MIT License), which follows the 69-wilaya administrative division. A copy of its license is in data/LICENSE-geoalgeria.txt .
How do I connect Google Sheets?
Follow the steps on the “Google Sheets & export” tab. The script to paste is linked there; it is published in the plugin’s GitHub repository: google-apps-script/Code.gs . Opening the link only displays the script; nothing is sent.
Which delivery companies are supported?
Yalidine, ZR Express, and any courier that runs on the Ecotrack platform (for example DHD, Conexlog/UPS, MSM Go, Rex Livraison, EcoRapide Express): choose “Ecotrack”, then paste your courier’s Ecotrack address and API token. Maystro and Noest are planned.
How do I import delivery prices from Google Sheets?
On the Delivery prices tab, download the template, open it in Google Sheets (File → Import), edit the home and desk columns, then Share → “Anyone with the link can view” and paste the link. Click “Import from sheet now”, or tick the daily sync. You can also export your current prices to start from them.
Can I show the delivery companies’ logos?
The plugin shows a coloured badge with each company’s initials, because company logos are trademarks we cannot ship. To show your own logo files, use the dzcod_courier_logo filter: add_filter( 'dzcod_courier_logo', function ( $url, $key ) { return 'yalidine' === $key ? 'https://your-site/logos/yalidine.png' : $url; }, 10, 2 );
Does the abandoned-order feature store personal data?
Yes: the name, phone, wilaya, commune and address a visitor typed, plus the product. It is stored only in your own WordPress database, is shown only to shop managers, is deleted automatically after the number of days you set (30 by default), and is removed completely when you delete the plugin. A short notice under the form tells visitors their number may be saved; you can edit it or switch the feature off in General settings. Check what your local data-protection law requires.
How do quantity offers work?
Edit a product and fill in the “COD form — quantity offers” box: quantity, then either a fixed pack price or a % discount. The form then shows packs instead of the quantity selector. The pack with a badge is selected by default.
How should I set up the confirmation workflow?
In General settings set “New order status” to Pending payment and “When an order is confirmed by phone” to Processing. Your team works through WooCommerce → Confirm orders. If automatic sending is set to “When an order becomes Processing”, confirmed orders go straight to your delivery company, and with “Count a purchase when the order is confirmed” Meta and TikTok only learn from real buyers.
What happens when a parcel is refused?
Parcel tracking marks it Returned and moves the order to “Returned (refused)”. The phone number’s history is updated, and if the customer refuses again they can be put on hold or refused automatically (Anti-fraud tab).
How do I give free delivery on a product?
Edit the product and use “Free delivery for this product” in the “COD form” box: free home delivery, free stop desk, or both, optionally only for some wilayas (for example 16, 09, 35). You can also give free delivery on a specific pack in the quantity offers, or above an order amount in Delivery prices.
How can I ask for a new feature?
Go to WooCommerce → Request a feature. It opens a pre-filled request on GitHub that you can review before posting. You can also vote 👍 on existing requests there.
Is Noest supported?
Not yet. Noest’s API is not publicly documented; it is on the roadmap. Contributions are welcome on GitHub.
A parcel was refused because of the commune name
Delivery companies sometimes spell communes differently. Open the order, correct the commune in the shipping address, save, and click Send again. The exact error from the company is shown on the order.
Does it replace the WooCommerce checkout?
No. It creates standard WooCommerce orders with the Cash on delivery payment method, so your existing order management, emails and delivery plugins keep working.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati