CartController::throw_default_product_exception( WC_Product $product )

Default exception thrown when an item cannot be added to the cart.


Description Description


Parameters Parameters

$product

(Required) Product object associated with the cart item.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.