silvercommerce / bulk-pricing
Add bulk pricing management to a SilverCommerce install
Installs: 254
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-11-03 23:08:50 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.