Only Allow 1 Product in the Cart WooCommerce

Only Allow 1 Product in the Cart WooCommerce
98 Views

We can set add to cart limit on WooCommerce cart using woocommerce_add_to_cart_validation filter. Add below code on functions.php file to limit your WooCommerce Cart to just 1 product.

Was this article helpful?
YesNo

Leave a comment

Your email address will not be published.