@pinelab/vendure-plugin-limit-variant-per-order
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

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 and Multiple of 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.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

22

Version

2.0.0

License

MIT

Unpacked Size

11.7 kB

Total Files

9

Last publish

Collaborators

  • mbrug