This package has been deprecated

Author message:

Moved to @pinelab/vendure-plugin-limit-product-per-order

vendure-plugin-limit-product-per-order
TypeScript icon, indicating that this package has built-in type declarations

7.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i vendure-plugin-limit-product-per-order

Weekly Downloads

0

Version

7.0.0

License

MIT

Unpacked Size

9.2 kB

Total Files

6

Last publish

Collaborators

  • mbrug