Laravel eCommerce Table Rate Shipping
Laravel eCommerce Table Rate Shipping allows the admin to create custom shipping methods at the back end.
Also, admin can upload the shipping information via CSV files, including product weight, zip code range, and alphanumeric zip codes.
The admin can even create multiple shipping methods using rate codes from their end. Table Rate Shipping module helps the admin to manage the shipping efficiently.
Complete Features List
- Admin can add shipping rates using CSV file for table rates.
- Admin can create sub-methods for Table Rate Shipping.
- Rates with the same code are shown as one shipping method at checkout.
- Shipping cost is calculated based on the product price.
- Shipping will be calculated based on Postcode and the Weight of the product.
- The Admin can confirm the order and can set the tracking ID for the order.
- Shipping rates are dynamically fetched from the CSV file and applied during checkout.
- Option to export a shipping CSV file from the back-end.
- Allows downloading invoices and shipping slips for orders.
- TableRate Shipping supports alphanumeric zip codes.
- Shipping cost can also be calculated based on the product weight.
- New Per Product charging type, besides Per Unit and Per Order.
- Priority setting to use only price based or only weight based rates.
- A rate for the exact zip code is used before a general rate, and the cheaper rate wins.
- Overlapping rates with the same code and range are not allowed.
- Admin can enable, disable or delete many shipping rates at once.
Installation of Laravel eCommerce Table Rate Shipping
Bagisto Version: v2.5.0
Step 1: Extract Package
Unzip the extension package and merge the packages folder into your project root.
Step 2: Map the Namespace and Register Service Provider
- Goto composer.json file and add the following line under ‘psr-4’
"Webkul\\TableRate\\": "packages/Webkul/TableRate/src"
- Run the autoload command
composer dump-autoload
- Go to bootstrap/providers.php file and add the following line under ‘providers’
use Webkul\TableRate\Providers\TableRateServiceProvider; return [ TableRateServiceProvider::class, ]
- Go to config/concord.php file and add the following line under ‘modules’
'modules' => [ Webkul\TableRate\Providers\ModuleServiceProvider::class, ]
Step 3: Install the Extension using command
php artisan table_rate_shipping:install
Admin Configuration
After the successful installation of the module, the admin will see the Table Rate Shipping under Configure>>Sales>>Shipping Methods.
Title:- Provide the name for the shipping method.
Description:- Provide the description for the shipping method that will be visible in the checkout page.
Type:- The admin can select between the Per Unit, Per Product and Per Order.
Priority:- The admin can select Price or Weight. Only the rates based on the selected option are used at checkout.
Status:- The admin can active or inactive the module from this field.
Afterwards, the admin also needs to manage the table rate shipping by navigating to Table Rate Shipping >> Shipping Rates.
Shipping Rate
Theadmin can see all the shipping rates already set up.
Add Shipping Rate
Also, the admin can easily add new rates by clicking the “Add Shipping Rate” option.
Here the admin needs to fill in the shipping rate details as follows:
- Code – The code of the shipping method. Rates with the same code are shown as one shipping method.
- Name – The name of the shipping method shown at checkout.
- Country – Select the destination country.
- State – Select the destination state, or leave it empty for the whole country.
- Shipping Based On – Select Price or Weight.
- Price From / Price To – Set the price range, when Price is selected.
- Weight From / Weight To – Set the weight range, when Weight is selected.
- Status – Enable to use the rate at checkout.
- Enable Zip Range – Enable to enter a zip code range, else enter a single zip code.
- Zip From / Zip To – Set the zip code range.
- Zip Code – Enter a single zip code, or leave it empty for all zip codes.
- Rate – Enter the shipping cost.
Lastly, the admin will save the rate by hitting the Save Shipping Rate button.
Import Shipping Rates
The admin can upload the Table rate Shipping CSV. First, the admin need to download the sample CSV file by clicking on the Import Button.
After clicking on the Import the below pop-up will be shown.
Under the below CSV the admin can easily set the shipping rate. Above grid of shipping rates will be visible as a table matrix of the CSV.
- code: The code of the shipping method.
- name: The name of the shipping method.
- country: The destination country.
- state: The destination state (optional).
- is_zip_range: Indicates if the zip code is a range (1/0).
- zip_code: Specific zip code (if applicable).
- zip_from: Starting zip code of the range.
- zip_to: Ending zip code of the range.
- based_on: price or weight.
- price_from / price_to: Price range for the shipping rate.
- weight_from / weight_to: Weight range for the shipping rate.
- rate: The cost of the shipping service.
- status: 1 for active, 0 for inactive.
IS Zip Range – Select “1” to enter a zip code range, else select “0” to enter a single zip code.
Zip Code – The admin can enter a numeric or alphanumeric zip code. Both zip codes and zip ranges support alphanumeric values.
Note: Country Code must be as per the official ISO-2 (alpha-2) two-letter country codes.
Front End
Now after all the configurations are completed from the admin panel, customers can use the table rate shipping in their checkout process.
Now, customers can choose products for purchase directly from the store.
After that, the customer can select the Table Rate Shipping method during the checkout process.
Note: In the Laravel eCommerceTable Rate Shipping module, the shipping rate will be calculated according to the product price or weight and the customer’s delivery address.
Click On the Place Order button.
Now the order is successfully placed by the customer, as shown in the above image.
In the end, the customer can also check the details of their orders under their account with the total shipping charges as shown below.
Order Management
The admin can manage the order under the admin panel by navigating to Sales>>Orders where the admin can see all the orders as shown below:-
By clicking on the edit icon the admin can see the details of any order:-
Moreover, to create an invoice click on the Invoice button a page that generates will look like shown below:-
After that, click on Create Invoice to generate the invoice and move the order to the processing stage.
Customers can view invoice details in the invoice section below image :
Now the admin needs to click on the ship button to create a shipment.
While creating the shipment the admin needs to enter the Carrier Title, Tracking Number. The admin also needs to select the inventory source and enter the quantity to ship.
After that, the admin can view the shipment in the shipments section.
The admin can view the invoice and the Shipment for the product by clicking on the edit icon of the order whose status is completed.
Support
So, that was much about the User Guide of Laravel eCommerce Tablerate Shipping.
If you have any queries or doubts reach out to us at support@webkul.com. You can also raise a ticket at our HelpDesk System.
Please explore our Laravel Development Services and Quality Bagisto Extensions.