Manish Pushkar Jha

Welcome to the hub of creativity, innovation, and scientific discovery!

I’m Manish Pushkar Jha, a seasoned web developer, designer, author, artist, and research scientist in quantum physics.

Whether it’s designing stunning websites, developing powerful WordPress solutions, crafting captivating stories and artworks, or diving into the complexities of quantum mechanics, I bring a blend of technical expertise, artistic
flair, and scientific insight to every project.

Let’s collaborate to elevate your online presence and explore new frontiers in the digital and scientific realms.


WooCommerce minimum order quantity Plugin

21 Views

Team members

  1. Manish Pushkar Jha
    WordPress WooCommerce Plugin Development

Employment

Employer: Coredo

Based in Helsinki, Finland, We transform agency designs into high-performance websites – pixel-perfect, on time, and 100% white-labeled.

Website >

Client: -

Overview

The WooCommerce Extension – Coredo plugin allows store owners to set a minimum order quantity for each product in WooCommerce. When enabled, customers must purchase at least the specified minimum quantity to add the product to their cart.

Features

  • Enable or disable the minimum order quantity for individual products.
  • Set a custom minimum quantity for each product.
  • Automatically adjust the product quantity input field to the minimum value.
  • Prevent customers from adding a quantity lower than the set minimum to the cart.
  • Display notices when the minimum order quantity is not met.

Installation

nstalling via WordPress Admin

  1. Download the plugin ZIP file.
  2. Log in to your WordPress admin panel.
  3. Go to Plugins > Add New > Upload Plugin.
  4. Click Choose File, select the ZIP file, and click Install Now.
  5. After installation, click Activate.

Installing via FTP

  1. Extract the ZIP file to get the wc-auto-complete-orders folder.
  2. Connect to your server using an FTP client (e.g., FileZilla).
  3. Navigate to /wp-content/plugins/.
  4. Upload the wc-auto-complete-orders folder.
  5. Go to Plugins > Installed Plugins in the WordPress admin panel and activate the plugin.

How to Use the Plugin

Setting Minimum Order Quantity for a Product

  1. Go to WooCommerce > Products.
  2. Edit any product where you want to set a minimum order quantity.
  3. In the General tab, scroll down to find:
    • Enable Minimum Order (Checkbox)
    • Minimum Order Quantity (Input Field)
  4. Check the box and enter the minimum quantity required.
  5. Click Update to save changes.

How It Works (Technical Overview)

  • When a product has a minimum order quantity set, the product quantity input field will automatically start from that minimum value.
  • If a user tries to decrease the quantity below the minimum, WooCommerce will prevent it.
  • If a customer manually enters a lower quantity and tries to add it to the cart, the system will adjust it and display a notice.
  • The cart page will also enforce the minimum quantity and display an error message if a lower quantity is detected.

Hooks & Filters Used

  • woocommerce_product_options_general_product_data – Adds custom fields to the product edit page.
  • woocommerce_process_product_meta – Saves custom fields when the product is updated.
  • woocommerce_add_to_cart_quantity – Ensures the minimum quantity is met when adding to the cart.
  • woocommerce_check_cart_items – Checks and enforces the minimum quantity in the cart.
  • woocommerce_quantity_input_args – Adjusts the front-end quantity input field to start from the minimum quantity.
Plugin DevelopmentTheme DevelopmentWebsite DevelopmentWooCommerce Plugin DevelopmentWordPress Plugin DevelopmentWordPress Theme Development
Enquire now about "WooCommerce minimum order quantity Plugin" !

    Your name
    Your email
    Your message