7.0.0 • Published 1 year ago
vendure-plugin-limit-product-per-order v7.0.0
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.
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
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.