Yesterday I had a request from one client. He asks me about the possibility to block add to cart button if had less or equal to 5 products in the cart. I don’t like this approach, but I made a solution for this. Based on people’s search a lot about this on StackOverflow. let’s see …
WooCommerce – Block add to cart button
