| 开发者 |
market-it
bevelededge |
|---|---|
| 更新时间 | 2026年7月20日 22:42 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[miewc_withdrawal_request_form]
Optional attributes:
title — heading shown on the form (default: “Withdraw from your purchase”).heading_level — heading level for the form title, 1–6 (default 1). If your theme or page builder already outputs the page title as a heading, use heading_level="2".[miewc_withdrawal_request_form heading_level="2"]
Settings
Configure the plugin under WooCommerce → Easy Withdrawal:
.miewc wrapper. Colours, radius and related values use CSS custom properties (--miewc-*). You can adjust accent colour and corner radius in the settings, or override variables in your theme stylesheet.
Templates can be overridden by copying them into:
yourtheme/market-it-easy-withdrawal-for-woocommerce/
Developer features
Useful public extension points include:
Actions:
miewc_review_fields — extra fields on the review stepmiewc_confirm_fields — extra fields on the confirm stepmiewc_email_after_summary / miewc_email_after_summary_plain — extra content after the email summarymiewc_request_registered — fires after a request is storedmiewc_send_customer_email / miewc_send_merchant_email — email dispatch hooksmiewc_prefill_order — return a WC_Order to skip lookup and start at Review (caller must authorise access)miewc_is_order_eligible / miewc_has_request / miewc_is_product_withdrawablemiewc_collect_request_data / miewc_validate_request_data / miewc_review_errormiewc_request_meta / miewc_order_note / miewc_post_request_statusmiewc_list_columns / miewc_list_column_value / miewc_export_headers / miewc_export_rowmiewc_admin_tabs — extra tabs on the Easy Withdrawal settings screenmiewc_order_withdrawable_items(), miewc_order_excluded_items().
Privacy
The plugin processes WooCommerce order and customer information when a customer looks up an order or submits a withdrawal request.
Depending on the plugin settings and information entered by the customer, stored request data may include:
/wp-content/plugins/.[miewc_withdrawal_request_form] to that page if it is not already present.No. It records a withdrawal request (order note, metadata and emails). Refunds and payment reversals are handled by you in WooCommerce or your payment process.
By default it can move the order to a dedicated Withdrawal requested status. You can turn that off under WooCommerce → Easy Withdrawal. It does not cancel the order or create refunds on its own.
They enter the order number and the billing email from checkout. No customer login is required, so guest orders are supported when those details match.
Yes. Set the period in days and optionally enable Enforce withdrawal deadline. Enforcement is off by default because the statutory period often depends on delivery, which the store may not know automatically.
The plugin uses the order’s optional Delivery date if set; otherwise the completed date; otherwise the created date. The period length from settings is then added.
Yes. Configure excluded products and product categories under WooCommerce → Easy Withdrawal. Orders with only excluded items cannot submit a request. Mixed orders show excluded items as not eligible for withdrawal.
Yes. Choose Hidden, Optional or Required. Hidden is the default.
Yes. Use the shortcode attribute heading_level (1–6). Default is 1.
You can add a menu link that points to your withdrawal page. The free plugin does not add a per-order action that skips the lookup step.
Yes. Adjust accent colour and corner radius in settings, or override CSS custom properties and templates in your theme.
Under WooCommerce → Settings → Emails, for the two Easy Withdrawal emails. Sender name and address can also be set on the Easy Withdrawal settings screen.
No. It is a software tool for collecting and documenting withdrawal requests. You remain responsible for your legal obligations.
Yes. Assets are enqueued when the shortcode renders, including setups where the shortcode is not only in classic post content.
Under WooCommerce → Withdrawals. You can also open the order to see the note, metadata and optional delivery date field.
wbs_ew prefix to the unique miewc prefix (functions, classes, constants, options, hooks, order meta, and CSS). Shortcode is now [miewc_withdrawal_request_form].market-it-easy-withdrawal-for-woocommerce) so Plugin Check text-domain validation passes.market-it-easy-withdrawal-for-woocommerce; fixed URL escaping in plain-text emails.market-it-easy-withdrawal, WordPress.org issuer market-it). Internal hooks and CSS class prefix unchanged.::after) instead of backward from the next step (::before), so step 1 participates like every other step.miewc_is_product_withdrawable, miewc_order_withdrawable_items(), miewc_order_excluded_items() so extensions can honour the same exclusions.woocommerce_update_order, causing infinite recursion. It now guards against re-entry and only saves when the delivery date actually changes.miewc_prefill_order filter — return a WC_Order to start the flow at the Review step, skipping the lookup. The caller is responsible for authorising access.heading_level="2" to the shortcode if your theme/builder already provides the page H1. Paragraph copy now uses the theme's body text colour instead of a muted grey.miewc_confirm_fields, miewc_email_after_summary, miewc_email_after_summary_plain, miewc_collect_request_data, miewc_request_meta, miewc_post_request_status, miewc_order_note, miewc_has_request, miewc_list_columns, miewc_list_column_value, miewc_export_headers, miewc_export_row.