CartController::has_coupon()
Method: See if cart has applied coupon by code.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:678
Method: See if cart has applied coupon by code.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:678
Method: Returns all applied coupons.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:689
Method: Get shipping packages from the cart with calculated shipping rates.
Source: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php:702
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
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