Installation
Requirements
- Magento 2 installed and working
- Composer access to MageB2B packages
Install
Replace repo.softwaresilo.io, softwaresilo, https://repo.softwaresilo.io/ and <token> with the repository details shown under Account > Licenses in your SoftwareSilo account — see Installation & Updates.
composer config bearer.repo.softwaresilo.io <token>
composer config repositories.softwaresilo composer https://repo.softwaresilo.io/
composer require mageb2b/productfee:*
php bin/magento module:enable MageB2B_ExtensionManager MageB2B_Productfee
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
If your setup requires static content deployment:
php bin/magento setup:static-content:deploy
Admin permissions
The module defines three ACL resources under System > Permissions > User Roles:
- Catalog > Product Fee Types — manage fee types
- Catalog > Product Fee Assignments — manage product assignments
- Stores > Settings > Configuration > Product Fees Configuration — change the configuration section
Grant them to admin roles that manage fees; read-only roles can keep them disabled.
Uninstall
php bin/magento module:uninstall MageB2B_Productfee
php bin/magento cache:flush