Shipping Availability Check is a Marketplace add-on for the Magento 2, which allows the users to find out product availability using zip codes. The users can simply enter a zip code on the product page to know whether the product is available in that zip code or not.
The admin and the sellers can add different regions, upload zip code CSV file, and select available regions for the products.
Zip Code Validator also works with Assigned Products, where the different sellers can add regions for the assigned products. The users can enter a zip code and find the product availability for the assigned products.
Please Note: – Shipping Availability Check is a Marketplace add-on, please install Marketplace Multi-Vendor Module for Magento 2 in order to use this module.
- Admin can enable or disable the module.
- Admin can select the shipping check field to be visible on all products or certain products.
- Allow orders only for validated zip codes.
- Shipping Availability Check module also works with the Marketplace Seller Price Comparison module.
- Seller and admin can create multiple shipping regions
- Upload zip codes CSV file for each shipping region.
- Download sample zip code shipping CSV file.
- Select available shipping regions in a product.
- Enable/disable or edit a shipping region.
- Update the zip codes list by updating the CSV file.
- Admin and seller can delete a zip code from the list.
- Use the filter option to find any region or a zip code.
- Saved address zip code automatically appears for logged-in customers.
- Customers can see the recent history of zip code search.
- Supports multiple language translations.
- Module source code is open for customization.
After extracting the downloaded zip file and you will get the src folder. Inside the src folder, you will find the app folder, copy the app folder to the Magento2 root directory. Please view the below screenshot.
After the successful installation, you have to run these commands in the Magento2 root directory.
First command –
php bin/magento setup:upgrade
Second Command –
php bin/magento setup:di:compile
Third Command –
php bin/magento setup:static-content:deploy
After running the commands, you need to flush the cache from the Magento2 admin panel by navigating through System->Cache Management. Click Flush Magento Cache button as shown below:
Module language translation
If you need to do the module translation, please navigate the path app/code/Webkul/MpZipCodeValidator/i18n and edit the file named en_US.csv as shown in below screenshot.
Once you have opened the file for editing, replace the words after the comma(,) on the right with your translated words.
After editing the CSV file, save it and then upload it to the same path app/code/Webkul/MpZipCodeValidator/i18n. The module will now get translated into your desired language. It supports both the LTR and RTL languages.
Module Configuration Shipping Availability Check
Once you have installed the module, go to Stores > Configuration > Webkul > Marketplace Zip Code Validator. Following options will be available:
Enable – Select Yes option to use this module. If No is selected, the zip code validator field will not be visible on the storefront.
Allow orders only for saved zip codes – If Yes is selected, a customer can place orders only for the validated zip codes set by the admin or a seller. So it means if a zip code does not match from the zip codes list, an order cannot be placed.
But, if No option is selected, a customer can place an order for any zip code entered during the checkout process. Zip code validation rule will not work in this case.
Zip Code Validator Availability- The admin here can select among two options either the individual product or all products to make the shipping check field visible on the product page.
Apply To Individual Product
Meanwhile, if the admin has selected Apply to Individual Products then the admin and seller need to Enable Validation for each product to select the region on the product edit page. So, as to specify the region of shipping.
Admin End – Product Edit Page
Seller End – Product Edit Page
Appy To All Products
Select the Regions: The admin can select the regions for the product available in a particular region.
Zip Code Validator Message: The admin can enter a message to check the zip code availability.
Further, in the Zip Code Validator availability configuration, if the admin selects Apply to all products a zip code validation dropdown will appear which includes the following options :
1. Apply default configuration: If this option is selected by the admin, all regions selected by the admin at the default module configuration will be assigned to the product.
2. Select Specific: Under this section, the admin will select specific regions from the drop-down options available. The admin can select multiple regions as shown in the image below:
3. No Validation: If this option is selected by the admin, the product will be delivered to any region. In addition, the product will be available for all regions and the zip code, the entry field will not be visible at the front end.
4. All Regions: If the admin selects “All Region” in “Zip Code Validation” for Admin product, then all available admin’s regions will be assigned to that product.
If the Admin selects “All Region” in “Zip Code Validation field“, for seller product, then all available seller’s regions will be assigned to that product.
- If a seller doesn’t have any regions then only ” No Validation” and “Apply default configuration” options will be visible in Zip code validation” dropdown.
- When the seller will have regions, the “Apply Default Configuration” will not be applicable to the seller’s product.
Manage Shipping Region – Admin
The admin can navigate through Marketplace Management > Shipping Availability Check > Manage Shipping Region. Here the admin can manage all the regions of its store. The admin can view information such as – region Id, region name, status, and region zip codes.
Click the Add Region button to create a new region.
Use Actions drop-down menu option to enable or disable any region status.
Filter options can be used to search for any particular region from the list.
Use the Click link to view all the zip codes of the region.
To update an existing region click the Edit link.
Seller Name – Admin can view the seller name.
Region Name – Admin can view the region.
Status – Admin can view the status as Enabled or Disabled.
View All Zip Codes – Admin can view the list of all the zip codes of the selected region. Every zip code has an Id assigned to it.
Actions – Use this option for deleting any zip code(s) from the list.
To find any particular zip code from the list, use the Filter option.
To add a new region click the Add Region button as shown in the previous screenshot. After arriving at the New Region page, you can fill in the region information details. The admin can download a sample zip code CSV file for the reference.
Region Name – Enter the title for the region.
Status – Set the status as Enabled to use this region, else select Disabled if don’t want to use.
CSV – Click the choose file button to browse and upload your new zip code CSV file.
The CSV file will be the same as the image shown below:
This file will include the list of zip code ranges. The list includes the initial zip code and the final valid zip code detail.
Further, the admin can assign the product to a particular region.
Admin can assign products to particular regions while creating/editing regions, for this, he just needs to select the Assign product option then select products through checkboxes and lastly hit the Save button.
The regions can also be configured for an existing product. Select the region(s) from the Available Regions option as shown in the below screenshot.
Seller Add New Region:
To add a new region navigate through My Account section, and then select the Add Regions tab. After arriving at the Marketplace Add Regions page, the seller will fill in the region information details. The seller can download a sample zip code CSV file for the reference.
Region Name – Enter the title for the region.
Status – Set the status as Enabled to use this region, else select Disabled if you don’t want to use it.
CSV – Click the Choose file button to browse and upload your new zip code CSV file.
Click the Save Region button to add this region to the list.
After the region is created, it will be listed under the View All Regions Tab, as shown in the image below:
Moreover, the seller can view the list of all the zip codes of the selected region. Every zip code has an Id assigned to it. For this, the seller will select the click option under the View All Zipcodes attribute for the desired region.
Actions – Use this menu option for deleting any zip code(s) from the list.
After that, to find any particular zip code from the list, use the search option.
Add New Product:
The seller can add the new product by clicking on the New Products tab from the seller panel.
Edit Existing Product:
The seller can edit the existing product by selecting the My Product list and then viewing the desired product on Edit mode under the action tab.
After that, the edit page will be shown in the image below:
Buyer management Shipping Availability Check
The front-end users can simply enter the zip code on the product page to find product availability for that zip code. After entering the zip code, the users can click the Check button as shown in below screenshot. A small message will appear under the entered zip code, as Product is available at (zip code).
If the entered zip code does not match the product zip code list, it will show the message as Product is not available at (zip code).
If a Logged In user uses the zip code validator for finding the product availability, its shipping details will automatically appear in the field. The users can view the recent zip code search history for the product.
The users who are not Logged In can also view the recent zip code search history for the product.
If the customer adds the product and product is not available for the particular region then checkout page show like the below image:
Shipping Availability Check for Assigned Products
The Shipping Availability Check Marketplace add-on also works with the Seller Price Comparison module, where different sellers can add regions for their assigned products.
The users can search for product availability by entering the zip code for each seller product separately.
Please Note: – Seller Price Comparison is a separate Marketplace add-on, it is not a part of Shipping Availability Check.
The seller can simply navigate through My Account->Assign Product and select the Available Regions from the option as shown in below screenshot:
Moreover, the front-users can enter the zip codes for different seller products and find the product availability as shown in the below screenshot.
Thank you for viewing the Shipping Availability Check blog, please feel free to share your views and comments. If you have any queries or doubts reach us at http://webkul.uvdesk.com/
Current Product Version - 3.1.0
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x