Download the PHP package opengento/module-document without Composer
On this page you can find all versions of the php package opengento/module-document. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package module-document
Document Module for Magento 2
This module aims to help merchants to manage easily their documents in Magento 2.
- Setup
- Composer installation
- Setup the module
- Features
- Settings
- Documentation
- Support
- Authors
- License
Setup
Magento 2 Open Source or Commerce edition is required.
Composer installation
Run the following composer command:
Setup the module
Run the following magento command:
If you are in production mode, do not forget to recompile and redeploy the static resources.
Features
This module aims to help merchants to manage easily their documents in Magento 2.
Documents are sorted by types and can be manipulated with ease.
-
Declare new document types:
- from the back-office
- from xml config files
- Create new documents:
- from the back-office
- from command line
- from a cron job
Documents can be uploaded with a thumbnail. The default thumbnail of the document type can be used.
The thumbnail can be resized in order to optimize the performance.
Documentation
How to declare a document type from config file
Create a new file resource_document_types.xml
in the etc/
folder of your module:
How to add a new import file processor
When files are import from command line or cron jobs, you cannot set manually metadata.
The code, name, and pivot field has to be filled and that is what the file import processor do.
If you need to implement your own logic on how a document should be created on the import fly, check the following code:
Implement the interface \Opengento\Document\Model\Document\ProcessorInterface
:
Support
Raise a new request to the issue tracker.
Authors
License
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!
All versions of module-document with dependencies
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-cache-invalidate Version ^100.4
magento/module-config Version ^101.0
magento/module-page-cache Version ^100.0
magento/module-ui Version ^101.0