Common Issues and Solutions
Installation Issues
Module Not Showing After Installation
Symptoms: Bulkgood configuration fields not visible in admin
Solutions:
Clear all caches:
php bin/magento cache:flushVerify module is enabled:
php bin/magento module:status MageB2B_BulkgoodRe-run setup if needed:
php bin/magento setup:upgrade php bin/magento setup:di:compile
Database Column Not Created
Symptoms: Error about missing bulkgood column in shipping_tablerate
Solutions:
Check database schema:
DESCRIBE shipping_tablerate;Manually add column if missing:
ALTER TABLE shipping_tablerate ADD COLUMN bulkgood SMALLINT(6) NOT NULL DEFAULT 0;Update unique constraint:
ALTER TABLE shipping_tablerate DROP INDEX UNQ_D60821CDB2AFACEE1566CFC02D0D4CAA; ALTER TABLE shipping_tablerate ADD UNIQUE INDEX SPNG_TBLRT_WBID_DSTCNTID_DSTRGNID_DSTZP_CNDNM_BLKGD (website_id, dest_country_id, dest_region_id, dest_zip, condition_name, condition_value, bulkgood);
Configuration Issues
Priority Configuration Not Saving
Symptoms: Priority order resets after saving
Solutions:
Clear configuration cache:
php bin/magento cache:clean configCheck file permissions on
app/etc/config.phpVerify no configuration management conflicts:
php bin/magento app:config:dump
Changes Not Applying in Frontend
Symptoms: Old prices still showing after configuration changes
Solutions:
Clear all caches:
php bin/magento cache:flushClear full page cache if enabled:
php bin/magento cache:clean full_pageReindex if needed:
php bin/magento indexer:reindex
Pricing Issues
Wrong Price Calculated
Symptoms: Unexpected shipping cost at checkout
Solutions:
Enable logging to debug:
- Stores >Configuration > Sales > Shipping Methods > Table Rates
- Set Enable Bulkgood Price Logging = Yes
- Clear cache and test again
- Check
var/log/system.log
Verify priority configuration matches your intent
Check calculation method (Sum/Highest/Lowest/Average)
Verify quantity calculation setting
€0 Shipping Cost
Symptoms: Bulkgood products show €0 shipping
Solutions:
Verify product has bulkgood attribute set to Yes
Check that at least one pricing source has a value:
- Product-level price
- Country-specific price
- Table rate with bulkgood=1
Enable logging to see which source is being checked
Verify priority configuration includes a fallback source
Country-Specific Price Not Working
Symptoms: Global price used instead of country-specific
Solutions:
Verify country code matches exactly (use ISO 2-letter codes: DE, FR, US, etc.)
Check priority configuration - country-specific should be first
Verify JSON format in database:
SELECT bulkgood_price_per_country FROM catalog_product_entity_text WHERE attribute_id = (SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'bulkgood_price_per_country') AND entity_id = YOUR_PRODUCT_ID;Expected format:
[{"country_id":"DE","price":"45.00"},{"country_id":"FR","price":"50.00"}]
Table Rate Issues
CSV Import Fails
Symptoms: Error when importing table rates with bulkgood column
Solutions:
Verify CSV has "Bulkgood" column header (case-sensitive)
Check bulkgood values are 0 or 1 (not Yes/No)
Ensure all required columns are present:
- Country
- Region/State
- Zip/Postal Code
- Order Subtotal (or Weight/Qty depending on condition)
- Shipping Price
- Bulkgood
Example CSV format:
Country,Region/State,Zip/Postal Code,Order Subtotal,Shipping Price,Bulkgood DE,*,*,0.0000,45.0000,1 FR,*,*,0.0000,50.0000,1 US,*,*,0.0000,65.0000,1
Table Rates Not Applied
Symptoms: Table rates ignored, using product prices instead
Solutions:
Check priority configuration - Table Rate should be in the list
Verify table rates exist with bulkgood=1:
SELECT * FROM shipping_tablerate WHERE bulkgood = 1;Ensure table rate shipping method is enabled:
- Stores >Configuration > Sales > Shipping Methods > Table Rates
- Enabled = Yes
Product Attribute Issues
Bulkgood Tab Not Visible
Symptoms: Can't find Bulkgood tab in product edit page
Solutions:
Clear cache:
php bin/magento cache:flushVerify attributes exist:
php bin/magento catalog:product:attributes:list | grep bulkgoodCheck attribute set includes bulkgood attributes
Reindex:
php bin/magento indexer:reindex catalog_product_attribute
Can't Save Country-Specific Prices
Symptoms: Country prices don't save or disappear
Solutions:
Check JavaScript console for errors
Verify attribute backend model is correct:
SELECT backend_model FROM eav_attribute WHERE attribute_code = 'bulkgood_price_per_country';Should be:
MageB2B\Bulkgood\Model\Attribute\Backend\SerializedClear browser cache and try again
Performance Issues
Slow Checkout
Symptoms: Checkout takes long time to calculate shipping
Solutions:
Disable logging in production:
- Enable Bulkgood Price Logging = No
Optimize table rate data:
- Remove unnecessary rows
- Use wildcards (*) for regions/zips where possible
Enable Magento caching:
php bin/magento cache:enableConsider using Varnish or Redis for full page cache
Mixed Cart Issues
Normal Products Affected
Symptoms: Non-bulkgood products getting bulkgood rates
Solutions:
Verify bulkgood attribute is set to No for normal products
Check table rates - ensure separate rates for bulkgood=0 and bulkgood=1
Enable logging to see which products are detected as bulkgood
Calculation Method Not Working
Symptoms: Multiple bulkgood items not aggregating correctly
Solutions:
Verify calculation method setting:
- Stores >Configuration > Sales > Shipping Methods > Table Rates
- Price Calculation Method
Enable logging to see intermediate calculations
Check that all products have valid bulkgood prices
Logging and Debugging
Enable Detailed Logging
# Enable logging php bin/magento config:set carriers/tablerate/log_enabled 1 # Clear cache php bin/magento cache:flush # Perform test checkout # View logs tail -f var/log/system.log | grep "MageB2B_Bulkgood"Disable Logging
php bin/magento config:set carriers/tablerate/log_enabled 0 php bin/magento cache:flushGetting Help
If you can't resolve the issue:
- Enable logging and capture the log output
- Document the issue with screenshots and steps to reproduce
- Provide the following information when requesting help:
- Magento version
- Extension version
- Log output
- Configuration screenshots
- Steps to reproduce
Related Topics
- Price Calculation - Understanding price determination
- Debug Logging - Using the logging system
- Configuration - Configuration reference
