Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php / Page 2

OrderController::validate_coupon_usage_limit()

Method: Check usage restrictions of a coupon against the order.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:387

Used by 0 functions | Uses 0 functions

OrderController::default_order_status()

Method: Changes default order status to draft for orders created via this API.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:405

Used by 0 functions | Uses 0 functions

OrderController

Class: OrderController class.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:13

Used by 0 functions | Uses 0 functions

OrderController::create_order_from_cart()

Method: Create order and set props based on global settings.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:22

Used by 0 functions | Uses 3 functions

OrderController::update_order_from_cart()

Method: Update an order using data from the current cart.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:48

Used by 2 functions | Uses 6 functions

OrderController::sync_customer_data_with_order()

Method: Copies order data to customer object (not the session), so values persist for future checkouts.

Source: packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php:70

Used by 0 functions | Uses 1 function
« Previous 1 2
Proudly powered by WordPress