Configuration
Configuration Location
Navigate to Stores >Configuration > Sales > Shipping Methods > Table Rates in the Magento Admin.
Configuration Options
1. Bulkgood Price Source Priority
Path: carriers/tablerate/bulkgood_price_priority
Define the order in which the system checks for bulkgood prices. Drag and drop to reorder:
- Bulkgood Price / Product & Country - Country-specific product prices
- Bulkgood Price / Product - Global product-level prices
- Table Rate - Magento's standard table rate shipping
How it works: The system checks each source in order and uses the first available price.
Example Configuration:
1. Bulkgood Price / Product & Country 2. Bulkgood Price / Product 3. Table RateThis configuration first checks for country-specific prices, then falls back to global product prices, and finally uses table rates if neither is available.
2. Price Calculation Method
Path: carriers/tablerate/price_calculation_method
Choose how to aggregate bulkgood prices when multiple items are in the cart:
- Sum - Add all bulkgood prices together
- Highest - Use the maximum price
- Lowest - Use the minimum price
- Average - Calculate the mean of all prices
Use Cases:
- Sum: Charge for each bulkgood item separately
- Highest: Freight forwarding where largest item determines cost
- Lowest: Promotional pricing to encourage bulk orders
- Average: Fair distribution across multiple items
3. Calculate Bulkgood Price by Qty
Path: carriers/tablerate/calculate_by_quantity
Options: Yes / No
When enabled, bulkgood prices are multiplied by item quantity:
- Yes: Per-item freight charges (price × quantity)
- No: Flat rate per order regardless of quantity
Example:
- Product A: Bulkgood price €50, Quantity: 3
- With Qty Calculation: €50 × 3 = €150
- Without Qty Calculation: €50 (flat rate)
4. Enable Bulkgood Price Logging
Path: carriers/tablerate/log_enabled
Options: Yes / No
Enable detailed logging of the bulkgood price calculation process. Logs include:
- Configuration settings
- Product-level price determination
- Priority selection process
- Calculation method application
- Final price result
Log Location: var/log/system.log
Recommendation: Enable during initial setup and troubleshooting, disable in production for performance.
Recommended Configurations
International B2B Store
Priority: 1. Bulkgood Price / Product & Country 2. Table Rate 3. Bulkgood Price / Product Calculation Method: Sum Calculate by Qty: Yes Logging: No (production)Freight Forwarding
Priority: 1. Bulkgood Price / Product 2. Table Rate Calculation Method: Highest Calculate by Qty: No Logging: No (production)Consolidated Shipping
Priority: 1. Table Rate 2. Bulkgood Price / Product & Country Calculation Method: Average Calculate by Qty: Yes Logging: No (production)Scope Configuration
All bulkgood settings can be configured at:
- Default - Global configuration
- Website - Per website
- Store View - Per store view
This allows different pricing strategies for different markets or customer segments.
Next Steps
- First Bulkgood Product - Set up your first bulkgood product
- Priority System - Deep dive into priority configuration
- Calculation Methods - Understanding calculation methods
Troubleshooting
Priority not saving: Clear configuration cache with php bin/magento cache:clean config
Changes not applying: Run php bin/magento app:config:import if using configuration management
Scope issues: Verify you're editing the correct scope (Default/Website/Store View)
