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_Bulkgood

4. Run Setup

php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush

Verify Installation

  1. Log into Magento Admin
  2. Navigate to Stores >Configuration > Sales > Shipping Methods > Table Rates
  3. 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

Troubleshooting

If you encounter issues during installation:

  1. Composer authentication fails: Verify your credentials from the order confirmation
  2. Module not showing: Clear cache with php bin/magento cache:flush
  3. Compilation errors: Ensure PHP version meets requirements (8.0+)
  4. Database errors: Check that your database user has ALTER TABLE permissions

Found an issue with this documentation? Let us know