WP Manifestindependent plugin directory
manifest / ecommerce / smart-order-checker

Smart Order Checker

Prevents users from ordering the same WooCommerce product multiple times using the same phone number within a set time.

by Alamin · github.com/developeralaminvi/smart-order-checker · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/developeralaminvi/smart-order-checker/archive/refs/heads/main.zip

Readme

# 🚫 Smart Order Checker

Smart Order Checker is a lightweight and effective WordPress plugin for WooCommerce that prevents customers from placing multiple orders for the same product using the same phone number within a set time interval.

Developed by Alamin, this plugin is ideal for stores that want to control repetitive orders, reduce spam, or prevent abuse of limited-time or quantity offers.


🔧 Features

  • 🛒 Block Repeat Orders: Prevents the same phone number from ordering the same product again within a defined time period.
  • 🕒 Custom Time Limit: Admin can set how many minutes must pass before a product can be re-ordered using the same phone number.
  • 📢 Custom Error Message: Show a personalized error note on the checkout page when repeat order is blocked.
  • 🧠 Smart WooCommerce Integration: Automatically checks recent orders with the same billing phone during checkout.
  • ⚙️ Admin Settings Page: Easily configurable options under Settings > Smart Order Checker.
  • 🔒 WooCommerce Dependency Notice: If WooCommerce is not installed or active, an admin warning is displayed.

📥 Installation

  1. Download the plugin ZIP file or clone this repository.
  2. Upload it to your WordPress site via the Plugins > Add New > Upload Plugin screen.
  3. Activate the plugin.
  4. Go to Settings > Smart Order Checker to configure time delay and error message.

⚙️ How It Works

  1. Customer tries to place an order.
  2. Plugin checks if the same product was already ordered by the same phone number (_billing_phone).
  3. If a matching order exists and it's within the restricted time range:
    • The order is blocked.
    • A custom error message is shown (e.g., “You have already placed an order. Please wait 60 minutes before ordering again.”).

🛠️ Admin Settings Page

You can configure:

  • ⏱️ Time Limit: Number of minutes to wait before allowing a repeat order.
  • 📝 Custom Error Message: Text to show when an order is blocked. Supports {minutes} placeholder.

📄 Changelog

v1.0.0

  • Initial release
  • WooCommerce integration
  • Time-based phone number restriction
  • Admin options and validation

👨‍💻 Developer

Name: Alamin
Hire Me on Upwork: Click here to hire
WordPress Experience: Custom plugins, WooCommerce extensions, Elementor widgets
Email: developeralaminvi@gmail.com


📜 License

This plugin is licensed under the GPL v2 or later.


✅ Need custom WordPress or WooCommerce plugin development? Hire me on Upwork — I specialize in lightweight, performance-optimized plugin development.

smart-order-checker

Read the full README on GitHub →