Magento Integration

Connect your Magento store to fetch live ITE Cargo shipping services and rates, and offer customers a seamless checkout experience.

Setup

1
Get the Module

Install the ITE Cargo module:

  1. Copy Module Files — Copy the IteTech directory into the app/code directory of your Magento 2 installation. The final path should be app/code/IteTech/IteCargo.
  2. Enable the Module — Open your terminal, navigate to your Magento root directory, and run the following commands:
  3. php bin/magento module:enable IteTech_IteCargo
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:clean
2
Enable the Shipping Method

In Magento Admin, go to Stores → Configuration → Sales → Delivery Methods.

Enable ITE Cargo shipping method in Magento
Enable ITE Cargo shipping method in Magento - part 2
3
Configure the Module
  • Open ITE Cargo Shipping
  • Enabled: Yes
  • API Domain: ITE Cargo API endpoint
  • API Token: Your ITE Cargo API key
  • Title: Displayed name (e.g., “ITE Cargo Shipping”)
  • Allowed Services: Select services (fetched live from API)
  • Click & Collect Enabled: Enable if supported
  • Debug: Yes (to log in var/log/debug.log)
  • Then click save config
Configure ITE Cargo fields and options
4
Flush caches

Click Flush Caches, if prompted. In Magento Admin, go to System → Cache Management → Flush Magento Cache. Your store is now configured to request services from ITE Cargo.

Save configuration and flush cache

Testing & Troubleshooting

Verify Configuration
  • Return to the ITE Cargo settings and confirm values are saved.
  • Allowed Services should be populated from the API. If empty, re-check the API URL and API Key.
Checkout showing ITE Cargo rates (replace with your own screenshot)
Test Checkout
  • Add a product and proceed to checkout.
  • Enter a valid address; in the shipping step you should see ITE Cargo with the enabled services/rates.
Checkout showing ITE Cargo rates (replace with your own screenshot)
Cron Job

The module registers a cron itech_itecargo_process_shipments (runs daily) to refresh services. You can run cron manually:

php bin/magento cron:run
Review Logs

Enable Debug in the module settings to log details in var/log/debug.log. Look for entries prefixed IteTech_IteCargo: to inspect API requests, responses, and errors.

Need help setting it up?

Our team can assist with configuration, testing, and go-live checks.

Email Support