5. Summary¶
5.1. Configuration reference¶
sylius_inventory:
# The driver used for persistence layer.
driver: ~
# Enable/disable backorders.
backorders: true
# Array of events for InventoryChangeListener
events: ~
# Enable or disbale tracking inventory
track_inventory: true
# The availability checker service id.
checker: sylius.availability_checker.default
# The inventory operator service id.
operator: sylius.inventory_operator.default
classes:
inventory_unit:
model: Sylius\Component\Inventory\Model\InventoryUnit
controller: Sylius\Bundle\InventoryBundle\Controller\InventoryUnitController
repository: ~ # You can override the repository class here.
stockable:
model: ~ # The stockable model class.
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
5.3. Working examples¶
If you want to see working implementation, try out the Sylius sandbox application.
5.4. Bug tracking¶
This bundle uses GitHub issues. If you have found bug, please create an issue.