Limit the amount of products a single customer can order
npm install @pinelab/vendure-plugin-limit-variant-per-order
Support by
Support languages
en
nl
Integration type
Partner
Category
Other
Compatible with
^2.0.0
Latest version
2.2.0
Last published
Jul 25, 2024
Downloads in past month
77
Vendure Plugin for limiting the amount of specific product variants per order
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.
- Only allow a product to be purchased in multiples of X. E.g. only per 4.
Getting started
- Add the following config to your
vendure-config.ts
:
plugins: [LimitVariantPerOrderPlugin];
- Start Vendure, login and go to the product you want to limit.
- Set the custom field
Maximum amount per order
andMultiple of per order
on a variant and update the product - 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.
Get started
Create your first commerce experience with Vendure in less than 2 minutes
Vendure is a registered trademark. Our trademark policy ensures that our brand and products are protected. Feel free to reach out if you have any questions about our trademarks.
Documentation
Newsletter
Get the latest product news and announcements delivered directly to your inbox.