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
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
התקנות פעילות
2K
נבדקו עד
6.2.5