plugin-icon

WooCommerce Cancel Abandoned Order

Cancel "on hold" orders after a certain number of days or by hours
評分
4.8
最近更新:
March 30, 2023
版本
2.0.0
活躍安裝總數
2K
WooCommerce Cancel Abandoned Order

WooCommerce Cancel Abandoned Order allows you to add a small option that will take care of dealing with “abandoned” commands.

If you have check or transfer type orders for example, you will be able to set a maximum number of days or by hours to receive the payment.

WooCommerce Cancel Abandoned Order, will take care of checking this and change the status of the order to “Cancel” if you have not received payment on time.

GitHub | Donate

Requirement

  • PHP minimal: 7.0
  • WordPress minimal: 4.0
  • WooCommerce minimal : 2.2

Hooks

Action

  • woo_cao_cancel_order ($order_id) : After cancel order.

Filters

  • woo_cao_gateways : Adds a payment gateway for the control.
  • woo_cao_before_cancel_order : Before canceling the order, send the order_id and the WC_Order if you do not want to cancel this order. Expect an exact return of true.
  • woo_cao_message_cancel_order : Allows you to modify the note when canceling the order. Handy if you use the ‘woo_cao_before_cancel_order’ filter.
  • woo_cao_date_order ($old_date, $gateway, $mode) : Change the calculation date for pending orders.
  • woo_cao_default_hours : Default value of the number of hours for order processing.
  • woo_cao_default_days : Default value of the number of days for order processing.
  • woo_cao_statustocancel ($status) : Allows you to add or change which WooCommerce order status the plugin should cancel.

Wiki

免費使用Creator方案
活躍安裝總數
2K
目前已測試版本
6.2.6
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。