Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section

Backend Functionality


Panel

Delivery Check > Postcode > Manage Postcode


Panel

Here, you can see list of previously added Post/Zip codes.

  • Action – from Action you can select single Zip code for edit or delete the same.
  • Bulk Actions – From top, you can also delete Post/Zip code in bulk.
  • Filter – Filter is available to search Zip code with advance options

Add Postal code

Panel

This form will be used to add new postal/zip code. You will need to fill below details, (*, represents mandatory fields)

  • Status: Specify “Yes”, if Post/Zip code is enabled
  • Post/Zip is Range: Enable to enter Post/Zip code in range
    • Postcode From: Specify postcode starting from (For postcode range)
    •  Postcode To: Specify postcode ending to (For postcode range)
  • Post/Zip Code: Enter Post/Zip code for which you want to allow shipping or COD
  • City/District:  Enter City name for Post/Zip code
  • Country: Select country from the given list
  • State/Province: Specify State/Province of the given Post/Zip code

Restrict Shipping Method for Pin/Zip code

Panel

  • Shipping Estimation Message: Specify message to display shipping estimate
  • Is Restrict Shipping Method: Enable to restrict shipping methods for specific pin/zip code or range of pin/zip code

Restrict Payment Method for Pin/Zip code

Panel

Postcode Rule

Panel

Here, you can see list of previously added Postcode rules,

  • Action – from Action you can select single Postcode rule for edit or delete the same.
  • Bulk Actions – From top, you can also delete Postcode rule in bulk.
  • Filter – Filter is available to search Postcode rule with advance options


Panel

Edit the postcode rule,

Assign product to postcode in bulk using CSV file. Please find sample CSV file on click of download button.

Import Product: Choose CSV file to import and click on "Save Postcode Rule"

Note

1. Import postcode from geonames using "php -dmemory_limit=-1 bin/magento magedelight:postcode:import --file IN.zip --clear" command
http://download.geonames.org/export/zip/

2. We can export csv using the admin side and command line. exported csv will save to var directory
command to export csv : "php bin/magento magedelight_postcode_export"

3. After export csv we can change csv as per our need and we can reupload csv by admin side and command line.
We can not upload csv more than 1 MB size from admin side.
We can reupload csv more than 1 MB size using command line as below
"php -dmemory_limit=-1 bin/magento magedelight:postcode:update --file US.csv --clear"

Note: We have to use csv file name as a country code. like IN.csv,US.csv etc.

Please check below video for points 1 and 3
https://www.loom.com/share/050f166eead6473a9b5759274136b3ab
Please check below video for point 2
https://www.loom.com/share/7d1325e6799d4312adcf3940e87da533

For first time while we add postcodes from terminal please use insert command (php -dmemory_limit=-1 bin/magento magedelight:postcode:import --file IN.zip --clear)
If we want to update records then we have to use command (php -dmemory_limit=-1 bin/magento magedelight:postcode:update --file IN.csv --clear)GeoNames
http://download.geonames.org

Import Postal Code

Panel

  • Import Postcodes: Select CSV File to import Postcodes and click on "Import Postcodes"
  • Export Postcodes: Click on Export to export Postcode in CSV file

Import using Geo Names using Command Prompt

Panel


Panel

Step 1: Please get zip of country from http://download.geonames.org/export/zip/ and keep to /var directory of your Magento installation


Panel

Step 2: Run php bin/magento magedelight:postcode:import --file <ZIPFileName> --clear

here, file name is case sensitive

--clear: use clear option to remove existing postal codes for particular country

Reports

Postcode search count

Panel

This report will provide number of count for individual postal codes.

Product wise postcode search count

Panel

This report will show product wise postal code search.

Postcode search count for unavailable products

Panel

Thisreport willshow postal code search count forunavailable products.

...