توضیحات
MidoForm replaces the standard WooCommerce checkout with a simple, focused order form designed for Cash on Delivery (COD) stores. Place the form on any page or post using a shortcode — customers fill in their name, phone number, wilaya, and baladia, and the order is created instantly in WooCommerce.
Built specifically for Algerian e-commerce stores, the form includes all 58 wilayas and their baladias out of the box, with no configuration needed.
How it works:
- Add the shortcode
[midoform id="PRODUCT_ID"]to any page - The form loads with the product details and a quantity selector
- The customer fills in their delivery information and submits
- A WooCommerce order is created automatically and set to Processing
- The customer is redirected to the WooCommerce order confirmation page
Features:
- Simple, mobile-friendly RTL form
- All 58 Algerian wilayas with baladia dropdowns
- Supports simple and variable WooCommerce products
- Live order summary with quantity control
- Built-in rate limiting to prevent duplicate orders
- Nonce-based security on every submission
- Lightweight — assets only load on pages that use the shortcode
- No settings page needed
Requirements:
- WordPress 5.8 or higher
- WooCommerce (must be installed and active)
- PHP 7.4 or higher
- Cash on Delivery payment method enabled in WooCommerce
نصب
- Upload the
midoformfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Make sure WooCommerce is installed and active.
- Enable the Cash on Delivery payment method in WooCommerce Settings Payments.
- Edit any page or post and add the shortcode:
[midoform id="123"]— replace123with your WooCommerce product ID.
سوالات متداول
-
Where do I find my product ID?
-
Go to WooCommerce Products, hover over the product, and the ID is shown below the product name. You can also find it in the URL when editing the product.
-
Does it work with variable products?
-
Yes. If the product has variations (size, color, etc.), the form will automatically show dropdown selectors for each attribute.
-
Can I use it for multiple products?
-
Yes. Place the shortcode on different pages with different product IDs. Each page will show the form for that specific product.
-
Does the plugin work outside Algeria?
-
Currently the plugin is built for the Algerian market — the location fields (wilaya/baladia) and phone number validation are specific to Algeria. Support for additional countries is planned for a future release.
-
What happens after the customer submits the form?
-
A WooCommerce order is created and set to “Processing” status with Cash on Delivery as the payment method. The customer is redirected to the standard WooCommerce order confirmation page.
-
Is there a settings page?
-
No. The plugin works out of the box with no configuration required.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“MidoForm Order Form for WooCommerce” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “MidoForm Order Form for WooCommerce” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.
گزارش تغییرات
1.0.0
- Initial release