CartController::select_shipping_rate()
Method: Selects a shipping rate.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:757
Method: Selects a shipping rate.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:757
Method: Based on the core cart class but returns errors rather than rendering notices directly.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:776
Method: Validates an existing cart coupon and returns any errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:860
Action Hook: Fire action to validate add to cart. Functions hooking into this should throw an \Exception to prevent add to cart from occurring.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:535
Method: Validate all coupons in the cart and check for errors.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:543
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