dynamic/silverstripe-foxy-inventory

A simple inventory add-on for SilverStripe Foxy.

Installs: 841

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 3

Open Issues: 9

Type:silverstripe-vendormodule

1.1.0 2020-07-15 15:38 UTC

This package is auto-updated.

Last update: 2024-12-18 13:29:47 UTC


README

A simple inventory add-on for SilverStripe Foxy.

CI 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.