Setting Up Your First Bulkgood Product

This guide walks you through configuring your first bulkgood product with shipping prices.

Step 1: Mark Product as Bulkgood

  1. Navigate to Catalog >Products
  2. Edit the product you want to mark as bulkgood
  3. Scroll to the Bulkgood tab
  4. Set Bulkgood attribute to Yes

Step 2: Choose Pricing Strategy

You have three options for setting bulkgood prices:

Option A: Global Product Price

Set a single price that applies to all destinations:

  1. In the Bulkgood tab, find Bulkgood Price
  2. Enter the shipping price (e.g., 50.00)
  3. Save the product

Use Case: Simple flat-rate bulkgood shipping regardless of destination.

Option B: Country-Specific Pricing

Set different prices for different destination countries:

  1. In the Bulkgood tab, find Bulkgood Price Per Country
  2. Click Add Row
  3. Select a country from the dropdown
  4. Enter the price for that country
  5. Repeat for additional countries
  6. Save the product

Example:

  • Germany: €45.00
  • France: €50.00
  • USA: $65.00
  • UK: £55.00

Use Case: International shipping with varying freight costs by region.

Option C: Table Rate Only

Don't set product-level prices and rely entirely on table rates:

  1. Leave Bulkgood Price empty
  2. Don't add country-specific prices
  3. Configure table rates with bulkgood flag (see Table Rate Setup)

Use Case: Complex weight/destination-based pricing managed centrally.

Step 3: Test the Configuration

Frontend Test

  1. Add the bulkgood product to cart
  2. Proceed to checkout
  3. Enter a shipping address
  4. Verify the bulkgood shipping rate is calculated correctly

Admin Test (with Logging)

  1. Enable logging: Stores >Configuration > Sales > Shipping Methods > Table Rates > Enable Bulkgood Price Logging = Yes
  2. Clear cache: php bin/magento cache:flush
  3. Perform a frontend test
  4. Check logs: var/log/system.log
  5. Look for entries starting with "Start debugging MageB2B_Bulkgood"

Example Scenarios

Scenario 1: Furniture Store (Country-Specific)

Product: Large Sofa
Configuration:

  • Bulkgood: Yes
  • Bulkgood Price Per Country:
    • Germany: €75.00
    • Austria: €85.00
    • Switzerland: €95.00
    • Netherlands: €80.00

Result: Customers in Germany pay €75 shipping, customers in Switzerland pay €95.

Scenario 2: Industrial Equipment (Global Price)

Product: Heavy Machinery Part
Configuration:

  • Bulkgood: Yes
  • Bulkgood Price: $150.00

Result: All customers pay $150 shipping regardless of location.

Scenario 3: Building Materials (Table Rate)

Product: Pallet of Bricks
Configuration:

  • Bulkgood: Yes
  • Bulkgood Price: (empty)
  • Bulkgood Price Per Country: (empty)
  • Table Rate: Configured with bulkgood=1 rates

Result: Shipping cost determined by table rate based on weight/destination.

Multiple Bulkgood Products

When multiple bulkgood products are in the cart, the Price Calculation Method determines the final shipping cost:

Example Cart:

  • Product A: Bulkgood price €50
  • Product B: Bulkgood price €40

Calculation Methods:

  • Sum: €50 + €40 = €90
  • Highest: €50
  • Lowest: €40
  • Average: (€50 + €40) / 2 = €45

Priority System

If you configure multiple pricing sources for a product, the system uses the Bulkgood Price Source Priority configuration:

Example:

  • Product has both global price (€50) and country-specific price for Germany (€45)
  • Priority: 1. Country-Specific, 2. Global
  • Result for German customer: €45 (country-specific takes priority)
  • Result for French customer: €50 (falls back to global price)

Next Steps

Troubleshooting

Bulkgood tab not visible: Clear cache and reindex: php bin/magento cache:flush && php bin/magento indexer:reindex

Prices not applying: Check priority configuration and enable logging to debug

Wrong price calculated: Verify calculation method and quantity calculation settings

Country-specific price not working: Ensure the destination country code matches exactly

Found an issue with this documentation? Let us know