silvercommerce/bulk-pricing

Add bulk pricing management to a SilverCommerce install

Installs: 155

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

2.0.0-beta2 2020-04-30 14:45 UTC

This package is auto-updated.

Last update: 2020-08-30 15:33:56 UTC


README

Adds pricing to products based on the quantity in the order. Allows adding price brackets to products which alter the price when a minimum quantity is ordered.

Each price bracket has a minimum quantity field and a new price field. When the item is added to an order or modified, it will find the bracket with the highest minimum that is below the current quantity and assign that price to the item in the order.

Installation

Install this via composer:

composer require silvercommerce/bulk-pricing

Not using composer? Install composer

Now run dev/build (either via the browser, or using sake).

Configuration

A pricing table can be added in the templates via the '$PricingTable' variable.