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