
I’ve been hit once again by a bot attack.
This time, I woke up to dozens of fake orders for my best-selling free mini plugin: the WooCommerce Autocomplete Orders Mini-Plugin. All of them placed overnight, all using obviously fake email addresses, and all totally useless.
Besides clogging up my order list and analytics, these spam orders also triggered multiple admin emails and slowed down my workflow.
Free products are a great way to provide value and attract users — but they also open the door to abuse.
That’s why I decided to implement a simple solution: limit how many times each free product can be ordered per day. Once the daily limit is hit, the product becomes temporarily unavailable with a “come back tomorrow” message.
In this post (and the video below), I’ll show you exactly how I did it, with a custom snippet that targets all free products in a specific category.
Continue reading WooCommerce: How to Stop Spam Orders on Free Products