homm / hommwarehouse
Craft CMS warehouse field
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- php: ^8.0|^8.1
- ext-fileinfo: *
- ext-json: *
- craftcms/cms: ^4.0.0
- phpoffice/phpspreadsheet: ^3.7
This package is not auto-updated.
Last update: 2025-04-03 13:44:23 UTC
README
Craft CMS warehouse field type
This plugin adds a new warehouse field type
Requirements
This plugin requires Craft CMS 4.x.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require homm/hommwarehouse
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for HOMM warehouse.
HOMM warehouse Overview
This plugin adds a new warehouse field type
Configuring HOMM warehouse
Go to Settings > HOMM Warehouse:
Here you can set if the plugin should be enabled/disabled.
Using HOMM warehouse (not done yet)
- Go to Settings > Fields and create a new field.
- Within the Field Type choose HOMM warehouse
- Assign the field to a section
- Now you can set an amount within your entries warehouse field
Basic usage in the template (Twig):
<!-- Retrieve the stock --> <span>{{ entry.warehouseField.stock }}</span> <!-- Retrieve the date on which the stock was last changed --> <span>{{ entry.warehouseField.updatedAt }}</span>
HOMM warehouse Roadmap
Some things to do, and ideas for potential features:
- Add twig variables
Brought to you by HOMM interactive