Tips, Tutorials, SEO, WordPress, Joomla, Web Design

Posts Tagged Under: Woocommerce maximum allowed in the cart

woocommerce only one product per category in the cart 800x300 - WooCommerce allow only 1 product per category

WooCommerce allow only 1 product per category

  • Update On February 15th, 2020
  • in WooCommerce

This post was last updated on February 15th, 2020 at 01:45 pm

This quick snippet can prevent your visitors from adding more than one (or pre-defined no.) product from a specific category to their cart. This PHP code snippet should go in your theme’s functions.php file.

Read More