silvercommerce/bulk-pricing

Add bulk pricing management to a SilverCommerce install

Installs: 240

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

2.0.0-beta3 2021-03-09 15:18 UTC

This package is auto-updated.

Last update: 2024-03-09 21:51:30 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.