Back to plugins & integrations

Exclusive Products icon

Exclusive Products

Limit the amount of products a single customer can order

npm install @pinelab/vendure-plugin-limit-variant-per-order

Integration type

Partner
Plugins built by certified Vendure partners

Category

Other

Last published

118 days ago

Downloads in past month

21
README.md

Vendure Plugin for limiting the amount of specific product variants per order

Vendure version

Official documentation here

This plugin allows you to limit the amount of a specific product variant per order. I.E. A customer is only allowed to buy 1 of product “Limited art t-shirt X” per order.

Getting started

  1. Add the following config to your vendure-config.ts:
plugins: [LimitVariantPerOrderPlugin];
  1. Start Vendure, login and go to the product you want to limit.
  2. Set the custom field Maximum amount per order on a variant and update the product
  3. Customers can now only buy X amount of the variant per order. The same customer can still order the product again in a new order.