Magento 2 Marketplace USPS Shipping Management provides USPS(United States Postal Service) shipping service for shipping the products. The USPS shipping service ship products to all over the world. This shipping service calculates the shipping rate according to the seller’s product weight and the seller’s origin address. Using this module, the admin can enable the option of USPS shipping method for the seller’s products. This allows the customers to choose the USPS shipping method on the checkout page if the seller has provided USPS shipping method for their product.
NOTE: This module is an add-on of Magento 2 Marketplace Module. To use this module you must have installed Webkul Magento 2 Marketplace Module first.
- Admin can enable or disable USPS Shipping method.
- Admin can set/change the USPS shipping method name that will be shown on the checkout page.
- Sellers can download and print the USPS Label.
- Admin can allow sellers to save his/her USPS Credentials.
- Sellers can set/change their USPS details to manage the shipment of their orders.
- USPS Shipping method will work with both admin’s/seller’s product.
- Allow customers to choose seller USPS shipping method.
- Fully admin management.
- Dynamic shipping method for freight calculation.
- USPS Shipping method is available only for Regular and Large size products.
Customers will get one zip folder and they have to extract the contents of the zip folder on their system.
Please select the correct folder according to your Magento version (2.1.x,2.0.x or 2.2.x).
The extracted folder has an src folder inside it. Inside the src folder, you will find the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.
After the successful installation, you have to run these commands in the Magento2 root directory:
Second Command – php bin/magento setup:di:compile
Third Command – php bin/magento setup:static-content:deploy
Configuration of Multi-Lingual Support
If a user wants to translate their module from English to German then they need to follow the path app/code/Webkul/MpUSPSShipping/i18n in their unzipped Magento Marketplace folder and will get a CSV file with name “en_US.csv”. Now they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language. After editing the CSV, save it and then upload it to the path app/code/Webkul/MpUSPSShipping/i18n where they have installed Magento2 on their server. The module will get translated in the German Language. It supports both the LTR and RTL languages.
Configuration Of The Module By Admin
After installation of the Magento2 Marketplace USPS shipping module, the admin will be able to configure the module by navigating through->Store->Configuration->Sales->Shipping Methods->Marketplace USPS.
Enabled for Checkout: Set Enabled for Checkout as Yes to enable USPS Shipping method.
Gateway URL: Enter Gateway URL to calculate the USPS shipping rate.
Secure Gateway URL: Enter the Secure Gateway URL provided in the mail after creating the USPS Shipping Account.
Title: Enter the Title for the name of the shipping method that is shown during the checkout process.
User ID and Password: Enter the User ID and Password from your USPS account.
Mode: Choose one of the following options here:
- Development – Runs USPS in a test environment.
- Live – Runs USPS in a live production environment.
Size: Determine the Size that you want to use for a package shipment.
Container: Set the Container to the typical packaging type for the shipment as the following:
- Flat-Rate Box
- Flat-Rate Envelope
Machinable: Select Yes for the Machinable if you want your package to be processed by a machine.
Allowed Methods: Choose USPS method offered to your customers from the Allowed Method list.
Allow Seller to Save Usps Details: Set Yes for the seller to save USPS Details.
Displayed Error Message: Enter an error message in the Displayed Error Message box that will appear if USPS Shipping is not available.
Show Method if Not Applicable: Set Show Method if Not Applicable to Yes if you want to show USPS Shipping all time.
Debug: To create a log file with the details of USPS shipments, set Debug to Yes.
NOTE: The User must create a USPS Shipping Account before configuring the shipping method.
How to create USPS Shipping account
The user must create a USPS Shipping Account before configuring the shipping method. After creating an account the user will get a mail with all the details like User ID, Password, link to the USPS test server.
After submitting the form successfully, the user will see a confirmation message as shown in the image below.
Now the user will get an email with all the credentials to access the USPS server as shown in the image below.
Seller Settings For USPS Shipping Method
Sellers can save their USPS configuration details. For this, the sellers will provide their details in the Usps Userid and Usps Password fields and proceed by clicking on the “Save” button.
The seller will now add the shipping origin address to his account by navigating to Shipping Setting menu option as per the below image.
Also, the sellers can add Shipping, Invoice, Tax, Vat information under Manage Print Pdf Header Info as shown below.
NOTE: The “USPS Configuration” option in the seller panel will only be visible when admin sets the “Enabled for Checkout” and “Allow Sellers to Save Usps Details” to “Yes” in the admin panel else not.
Buyer Select USPS Shipping Method At Checkout
Buyer can also see the selected shipping method under Order Review as shown below.
- In Magento2 Marketplace USPS Shipping module, the shipping rate will be calculated according to seller’s product weight and seller origin(Billing address) address through API.
- This USPS Shipping method doesn’t work for the admin/seller’s product with more than one warehouse for a product.
Marketplace USPS Shipping Management By Seller
The seller can see the orders under “My Order History” as per the image below.
If admin sets the “Allow Seller to Manage Order” option to “Yes” then the seller can manage the orders from front-end. This enables the seller to generate invoices, tracking number and shipment for the orders of their products. Even the seller can notify the customers by sending them emails, cancel/refund the order and even print the order. To generate the USPS shipping label sellers need to check the checkbox for USPS shipment as shown below.
Once the seller generates the shipment and invoice, the seller will able to see complete order details.
Here, the sellers will be able to print the Shipment Slips and send tracking information.
The seller can click on USPS Shipment slip to print USPS Label as shown below.
The seller can download the Shipping and Invoice slip very easily. In this slip, you can also see the company logo and address, vat, tax information which is entered by the seller under Manage Print Pdf Header Info tab.
Download all Invoice Slips:
Download all Packaging Slips:
Similarly, you will enter the date up to which you want to download the Packaging Slips.
That’s all for the Magento2 Marketplace USPS Shipping, still have any issue feel free to add a ticket and let us know your views to make the module better webkul.uvdesk.com
Current Product Version - 2.1.0
Supported Framework Version - 2.0.x, 2.1.x and 2.2.x