CartController::validate_cart_coupon()
Method: Validates an existing cart coupon and returns any errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:860
Method: Validates an existing cart coupon and returns any errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:860
Method: Gets the qty of a product across line items.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:884
Method: Gets remaining stock for a product.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:898
Method: Validate all items in the cart and get a list of errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:557
Method: Validate all items in the cart and get a list of errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:594
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