Skip to content
A simple inventory add-on for SilverStripe Foxy
PHP JavaScript
Branch: 1.0
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
_config
client
src
tests
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml initial commit Jul 25, 2019
.travis.yml CHANGELOG 1.0.0 (#11) Oct 30, 2019
CHANGELOG.md CHANGELOG 1.0.1 Nov 12, 2019
CONTRIBUTING.md
Jenkinsfile
LICENSE.md initial commit Jul 25, 2019
README.md
_config.php initial commit Jul 25, 2019
code-of-conduct.md
composer.json
gulpfile.js Fixed missing gulp script for minifying (#12) Nov 13, 2019
package.json
phpcs.xml.dist
phpdox.xml jenkins setup (#4) Jul 29, 2019
phpunit.xml.dist

README.md

SilverStripe Foxy Inventory

A simple inventory add-on for SilverStripe Foxy.

Build Status Scrutinizer Code Quality Build Status codecov

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • SilverStripe ^4.0
  • SilverStripe Foxy ^1.0
  • SilverStripe Foxy Orders ^1.0

Installation

composer require dynamic/silverstripe-foxy-inventory

License

See License

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

Maintainers

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.

You can’t perform that action at this time.