CartController::filter_request_data()
Method: Filter data for add to cart requests.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:973
Method: Filter data for add to cart requests.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:973
Method: Get hashes for items in the current cart. Useful for tracking changes.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:653
Method: If variations are set, validate and format the values ready to add to the cart.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:1006
Action Hook: Fire action to validate add to cart. Functions hooking into this should throw an \Exception to prevent add to cart from occuring.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:225
Method: Generates the error message for out of stock products and adds product names to it.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:236
Method: Takes a string describing the type of stock extension, whether there is a single product or multiple products causing this exception and returns an appropriate error message.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:254
Method: Validate all items in the cart and check for errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:321
Action Hook: Hook: woocommerce_check_cart_items
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:404
Method: This method will take arrays of exceptions relating to stock, and will convert them to a WP_Error object.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:418
Method: Validates an existing cart item and returns any errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:488