commercebuild Success Portal commercebuild Success Portal

  • Home
  • Submit a Ticket
  • Updates
  • Login
  • Contact Us
Home / Tutorials / How to Enforce Minimum Order Quantity (MOQ)

How to Enforce Minimum Order Quantity (MOQ)

590 views 1 min , 23 sec read 0
To set up Minimum Order Quantity, Product Custom Fields are required and a billable add-on. If Custom Fields are not accessible under Catalog > Product Settings, please contact us so that we can assist you further.

You can enforce a Minimum Order Quantity (MOQ) for ERP products, as well as ERP products that are part of variants. With an MOQ in place, web store customers are not able to purchase less than the number specified in the product custom field.

In this guide, we’ll help you get the custom field set up, as well as activate the custom field for a single product.

Setting Up The Custom Field

Navigate to Catalog > Product Settings > Custom Fields, and then click + Add New Custom Field to create your MOQ custom field.

Create the Custom Field

Upon clicking + Add New Custom Field, the following information will be requested:

  • Title – This value will appear on the frontend, in the product details.
  • Description – This value appears in the product details for the admin user (via the admin view of the product details page)
  • Field Type – This is the type of field we want to use; in this case, it’s Minimum Order Quantity.
  • Default Value – This will set the MOQ by default. Note that having a value here does not mean that the MOQ will be enabled for all products. As we’ll show below, this custom field would need to be enabled for a product before it takes effect. Setting a default just ensures that a MOQ value is already set before the MOQ is enabled.

Enable the Custom Field

Once the custom field is created, navigate to the product details page for the product(s) in question and enable the field.

  1. Go to Catalog > Products and search for the product in question.
  2. Once it is found, click the Edit button to see the product details.
  3. Scroll down to the Custom Fields section in the product details.
  4. Enable the custom field in question.
  5. Save your product details and consider reindexing the site manually as well.
Do you need to set this custom field for many products? Consider using the export/import tool via Catalog > Products > Tools > Import/Export Custom Fields.

Review the Changes

Finally, navigate to the product page for the user and observe that the MOQ has been set on the product. When a customer tries to purchase this product, they will be required to purchase at least 5 units of the item.

webstore Tutorials

About Bradly Hale

View all posts by Bradly Hale →

Related Articles

  • How to Enable reCAPTCHA on Custom Forms
  • Adding a custom message to the shipping step at checkout
  • How to configure Stripe as a payment method
  • SQL Server Change Tracking Query for Sage 300 and X3

Popular Articles

  • Enable Firewall Rules and a JavaScript Browser Challenge 2247 16
  • Enable Cloudflare Rate Limiting 2134 0
  • How to Add a JavaScript Snippet 1994 8
  • IP Allowlist 1945 0
  • Signing up for Cloudflare and Configuring Your Domain 1812 4

New Articles

  • Error when adding a new user: Email is already in use 676 0
  • How to Check commercebuild Payments Version 913 0
  • How to Enable reCAPTCHA on Custom Forms 820 0
  • Manually posting an order 970 0
  • Adding a custom message to the shipping step at checkout 785 0
© commercebuild 2022. All rights reserved.