magento-uafrica-shipping-extension
Local dev setup:
- Create a new folder on your local machine
- Copy the following docker-compose file into it (remember to unzip):docker-compose.yml.zip
- Run
docker compose up
Introduction
A guide to install Magento uAfrica Shipping extension
Features
This extension allows you to get real-time shipping rates from Bobgo shipping service and display them to your customers during checkout.
This extension also allows you to track shipments.
How to install Magento 2 Bobgo Shipping Extension
✓ Install via composer (recommend)
Run the following command in Magento 2 root folder:
<Note: You must have composer installed on your server & at this point this option does not work, , option working is manual, although everything is set and ready for installation through composer from https://packagist.org/ >
composer require uafrica/bobgo
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
✓ Install via zip file
-
Download the extension
-
Unzip the file
-
Create a folder {Magento root}/app/code/uafrica/Customshipping
-
Copy the content from the unzip folder(Registration.php, etc, view, etc) to {Magento root}/app/code/uafrica/Customshipping)
-
Go to Magento root folder and run upgrade
bin/magento setup:upgrade
command line to installuafrica_Customshipping
:
Bin/magento cache:clean
Bin/magento cache:flush
Bin/magento setup:upgrade
Bin/magento setup:di:compile
How to configure Magento 2 Bobgo Shipping Extension
✓ Step 1: Create an account on Bobgo
You need to create an account on Bobgo to get API key and API secret . Please visit Bobgo to create an account.
✓ Step 2: Login to Magento Admin
Login to Magento Admin and go to Stores > Configuration > Sales > Delivery Methods
✓ Step 3: Configure Bobgo Shipping Extension
- Select
Bobgo
as shipping method - Enter API key and API secret
- Select
Enable
to enable the extension - Select
Enable Debug Mode
to enable debug mode - Click
Save Config
- Flush cache (System > Cache Management) and reindex (System > Index Management)
- Clear generated files(
rm -rf var/generation/*
) - Reindex data (
php bin/magento indexer:reindex
) - Deploy static content (
php bin/magento setup:static-content:deploy
) - Run
php bin/magento cache:clean
- Run
php bin/magento cache:flush
- Run
php bin/magento setup:upgrade
- Run
php bin/magento setup:di:compile
- Run
php bin/magento setup:static-content:deploy
How to use Magento 2 Bobgo Shipping Extension (carrier) to ship orders
✓ Step 1: Create shipment
- Go to
Sales > Orders
in Magento Admin - Select an order
- Click
Ship
button - Select
Bobgo
as shipping method - Click
Submit Shipment
button