| 开发者 | mrdhia |
|---|---|
| 更新时间 | 2026年11月7日 08:52 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Purchase, TikTok CompletePayment and GA4 purchase events if those pixels are already on your site, plus a dzcod:order JavaScript event for custom tracking.[dzcod_form], automatic placement on product pages, and an Elementor widget.dzcod_free_delivery, dzcod_ecotrack_hosts, dzcod_leads_per_hour, dzcod_meta_api_version, dzcod_locations, dzcod_is_valid_phone, dzcod_antifraud_result, dzcod_sheets_row, dzcod_auto_insert_for_product, dzcod_client_ip, dzcod_courier_providers, dzcod_courier_parcel, dzcod_courier_payload, dzcod_courier_logo, dzcod_offers.
Actions: dzcod_before_order_save, dzcod_order_created, dzcod_order_confirmed, dzcod_parcel_created, dzcod_parcel_status, dzcod_lead_recovered, dzcod_upsell_accepted.
Source code, build-free (no compiled files), and issues: https://github.com/xthegodfatherx/dz-cod-order-form
[dzcod_form product_id="123"] / the Elementor widget wherever you want.From the geoalgeria dataset (MIT License), which follows the 69-wilaya administrative division. A copy of its license is in data/LICENSE-geoalgeria.txt.
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.
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.
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.
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 );
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.
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.
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.
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).
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.
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.
Not yet. Noest's API is not publicly documented; it is on the roadmap. Contributions are welcome on GitHub.
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.
No. It creates standard WooCommerce orders with the Cash on delivery payment method, so your existing order management, emails and delivery plugins keep working.
dzcod_ecotrack_hosts to extend).dzcod_leads_per_hour).