Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-hyperlocal-marketplace-guide

    Marketplace Shipping Availability Check For Magento 2

    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.

    Features

    • 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.

    Installation

    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 –


    Second Command –


    Third Command –


    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:

    Multi-Lingual Configuration

    For Multilingual support, please navigate through Store > Configuration->General > Locale Options and select your desired language from the locale option.

    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 > Marketplace > 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 validated 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 needs to select go to each product edit page and select the region. So, as to specify the region of shipping.

    Appy To All Products

    Further, if the admin has selected Apply to All Product then the shipping check filed will be visible on all the 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 this option then the product will be available to all regions.
    If the seller selects this option then the product will be available only in all the regions of that specific seller.

    Note: 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.

    Manage Shipping Availability Regions & Zip Codes – Admin

    The admin can navigate through Marketplace Management->Marketplace Zipcode Validator Regions. 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.

    Add Region

    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 Information:

    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.

    Assign Product

    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.

    New Product:

    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.

     Existing Product:

    Seller management

    The sellers can also add regions, upload zip codes CSV files and assign products to the regions from the front-end. To view all the regions navigate through My Account->View All Regions. After opening the Marketplace View Regions page, the seller can manage the regions of its store.

    The seller can view information such as – region name, status, created date, and region zip codes.

    Use Actions drop-down menu option to enable or disable any region status.

    The search option 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.

    Add Region

    To add a new region navigate through My Account->Add Regions. After arriving at the Marketplace Add Regions page, you can fill in the region information details. The seller can download a sample zip code CSV file for the reference.

    Region Information:

    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.

    View Region Zip Codes

    To view all the zip codes in the region, navigate through My Account->View All Regions and use the Click link to view all the zip codes.

    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.

    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.

    New Product:

    Existing Product:

    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:

    View and edit cart page show the message as per 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.

    Seller Management

    The seller can simply navigate through My Account->Assign Product and select the Available Regions from the option as shown in below screenshot:

    Buyer Management

    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

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Table of Content

    Hide Index