https://github.com/dynamic/silverstripe-foxy-inventory
A simple inventory add-on for SilverStripe Foxy
https://github.com/dynamic/silverstripe-foxy-inventory
foxycart hacktoberfest silverstripe
Last synced: 6 months ago
JSON representation
A simple inventory add-on for SilverStripe Foxy
- Host: GitHub
- URL: https://github.com/dynamic/silverstripe-foxy-inventory
- Owner: dynamic
- License: bsd-3-clause
- Created: 2019-07-25T18:34:09.000Z (almost 6 years ago)
- Default Branch: 1.1
- Last Pushed: 2021-02-18T04:18:02.000Z (over 4 years ago)
- Last Synced: 2024-09-17T20:23:14.949Z (9 months ago)
- Topics: foxycart, hacktoberfest, silverstripe
- Language: PHP
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# SilverStripe Foxy Inventory
A simple inventory add-on for SilverStripe Foxy.

[](https://travis-ci.org/dynamic/silverstripe-foxy-inventory)
[](https://scrutinizer-ci.com/g/dynamic/silverstripe-foxy-inventory/?branch=master)
[](https://scrutinizer-ci.com/g/dynamic/silverstripe-foxy-inventory/build-status/master)
[](https://codecov.io/gh/dynamic/silverstripe-foxy-inventory)[](https://packagist.org/packages/dynamic/silverstripe-foxy-inventory)
[](https://packagist.org/packages/dynamic/silverstripe-foxy-inventory)
[](https://packagist.org/packages/dynamic/silverstripe-foxy-inventory)
[](https://packagist.org/packages/dynamic/silverstripe-foxy-inventory)## Requirements
* SilverStripe ^4.0
* SilverStripe Foxy ^1.0
* SilverStripe Foxy Orders ^1.0## Installation
```
composer require dynamic/silverstripe-foxy-inventory
```## License
See [License](license.md)
## Example configuration (optional)
Apply the following DataExtensions to your base Product class:
```yaml
Dynamic\Products\Page\Product:
extensions:
- Dynamic\Foxy\Inventory\Extension\ProductInventoryManager
- Dynamic\Foxy\Inventory\Extension\ProductExpirationManagerDynamic\Products\Page\ProductController:
extensions:
- Dynamic\Foxy\Inventory\Extension\ProductControllerExtension```
Also apply the following Extensions to Foxy classes:
```yaml
Dynamic\Foxy\Form\AddToCartForm:
extensions:
- Dynamic\Foxy\Inventory\Extension\AddToCartFormExtensionDynamic\Foxy\Form\QuantityField:
extensions:
- Dynamic\Foxy\Inventory\Extension\QuantityFieldExtension```
## Maintainers
* [Dynamic](http://www.dynamicagency.com) ()## Bugtracker
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.