Installation
Requirements
- Magento 2.4.0 or higher
- PHP 8.0 or higher
- Composer access to MageB2B repository
Installation Steps
1. Add Composer Repository
Add the MageB2B repository to your composer.json:
composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ 2. Require the Module
Install the Bulkgood extension:
composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ composer require mageb2b/bulkgood:* Enter your authentication credentials when prompted (provided in your order confirmation).
3. Enable the Module
php bin/magento module:enable MageB2B_Bulkgood4. Run Setup
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flushVerify Installation
- Log into Magento Admin
- Navigate to Stores >Configuration > Sales > Shipping Methods > Table Rates
- You should see new bulkgood-related configuration fields:
- Bulkgood Price Source Priority
- Price Calculation Method
- Calculate Bulkgood Price by Qty
- Enable Bulkgood Price Logging
Database Changes
The extension automatically adds a bulkgood column to the shipping_tablerate table and updates the unique constraint to include this field.
Product Attributes
Three new product attributes are created:
- bulkgood (Yes/No) - Marks product as bulkgood
- bulkgood_price (Price) - Global bulkgood shipping price
- bulkgood_price_per_country (Text) - Country-specific prices (JSON)
Next Steps
- Configuration - Configure the extension settings
- First Bulkgood Product - Set up your first bulkgood product
Troubleshooting
If you encounter issues during installation:
- Composer authentication fails: Verify your credentials from the order confirmation
- Module not showing: Clear cache with
php bin/magento cache:flush - Compilation errors: Ensure PHP version meets requirements (8.0+)
- Database errors: Check that your database user has ALTER TABLE permissions
