SilverStripe Foxy Inventory
A simple inventory add-on for SilverStripe Foxy.
- SilverStripe ^4.0
- SilverStripe Foxy ^1.0
- SilverStripe Foxy Orders ^1.0
composer require dynamic/silverstripe-foxy-inventory
Example configuration (optional)
Apply the following DataExtensions to your base Product class:
Dynamic\Products\Page\Product: extensions: - Dynamic\Foxy\Inventory\Extension\ProductInventoryManager - Dynamic\Foxy\Inventory\Extension\ProductExpirationManager Dynamic\Products\Page\ProductController: extensions: - Dynamic\Foxy\Inventory\Extension\ProductControllerExtension
Also apply the following Extensions to Foxy classes:
Dynamic\Foxy\Form\AddToCartForm: extensions: - Dynamic\Foxy\Inventory\Extension\AddToCartFormExtension Dynamic\Foxy\Form\QuantityField: extensions: - Dynamic\Foxy\Inventory\Extension\QuantityFieldExtension
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.