Questions tagged [zipcode]

ZIP codes are a system of postal codes used by the United States Postal Service (USPS) since 1963.

Filter by
Sorted by
Tagged with
7 votes
4 answers
3k views

How to disabled ADD TO CART button when user had not checked the zipcode

I am building an e-commerce website named "bookslab.in". My old exceptions are working fine for my "Add to cart" button. I want to add one new exception to my "Add to cart" button. I found this ...
Salman Dalal's user avatar
5 votes
6 answers
10k views

How to disable Zip/Postal Code validation Notice Magento 2

I want to disable this notice in the checkout from Magento: Provided Zip/Postal Code seems to be invalid. Example: 1234 AB. If you believe it is the right one you can ignore this notice. I don't ...
Peter Aalmoes's user avatar
4 votes
2 answers
1k views

Allow only numeric postcode Magento

I have already followed this question for front-end validation of PostCode : Zip/Postal Code validation not working properly How can i add a server-side validation? Thank you.
Mario Villani's user avatar
4 votes
3 answers
652 views

How to Debug Shopping Cart Pricing Rule Error?

Shopping Cart Price Rule - By using ZIP Code and Subtotal - Free shipping Not Working Shipping Method : Webshop Matrix Rate I am applied Shopping Cart Price Rule using zipcode, May I know where I ...
zus's user avatar
  • 155
4 votes
2 answers
3k views

show error message through plugin Magento2 in checkout page

I am using a plugin feature in module to validate the zip code for delivery available. I need to prevent the next step if the zip code is not available for delivery by showing a message in checkout ...
amith lal's user avatar
  • 766
3 votes
3 answers
5k views

how do disable/remove Zip Code for specific country in magento 2

How can i disable/remove Zip Code for specific country in magento 2 For example if some one select UAE than Zip Code field should remove or disable else it should visible.
Waqar's user avatar
  • 974
3 votes
2 answers
958 views

Magento 2.2.2 - Tablerates not working on Cart Page

I am using Tablerates as my shipping method and the condition is set to Price vs Destination. Use case One Free Shipping over $200 Use case Two If zip code falls under Zone 1 i.e. 28682-28685, `$...
Slimshadddyyy's user avatar
2 votes
1 answer
3k views

region/state code in tablerate.csv file in magento 2 [closed]

i need to get the region/state code for Riyadh, Dammam, Jeddah. or get me the zip/postal code range for the same cities. pls help me. Thanks.
Anu's user avatar
  • 23
2 votes
2 answers
207 views

Want to make zipcode text field as a "required" field on my product page of magento site [closed]

My website bookslab.in is almost ready. I am selling the books online. Now i am stuck on this problem. I want to make the zipcode field on my product page as a "required" field before users add the ...
Salman Dalal's user avatar
2 votes
1 answer
2k views

How can I update shipping methods on checkout with changes in zipcode input?

How can I update shipping methods on checkout with changes in zipcode input? My shipping methods are not updating with zipcode input change value. Only with page refresh.
Plim's user avatar
  • 133
2 votes
1 answer
1k views

Magento 2 :Get Customer Zip from Checkout Shipping Step

I have a custom module with a custom section in Checkout Payment Step. I want to display the xip code of the customer in the custom section ( both customer logged in and logged out case). I have ...
Vindhuja's user avatar
  • 1,385
1 vote
1 answer
334 views

Default zip code for shipping address

How can I set default zip code for the shipping address??
Chandan Sayed's user avatar
1 vote
1 answer
342 views

Magento 2.3 - How to verify US zip code with region in checkout and my account address

I want to verify if the zip code entered by the customer matches correctly with the region. For example: zip code:10001 Region: New york If the customer enters the wrong zip code for the region, it ...
Arunprabakaran M's user avatar
1 vote
1 answer
3k views

Zip code validation in magento 2

In checkout page I try to add validation for postal code. I already find a list with javascript validation for magento 2 here validation rule and I found this rule "validate-zip-international "but I ...
Alin Lupoiu's user avatar
  • 2,662
1 vote
1 answer
303 views

Display the shipping charges without clicking on "check" button

visit link1 , you can find shipping charges in view page , image 1: enter " 110001" in textfield, click on "check" button in link2, it will show as above, now click on another product link2 , you can ...
Baby in Magento's user avatar
1 vote
1 answer
213 views

Magento 1.9 - Add custom zipcode validation on Home page

Validate a zip code field on a home page popup in Magento 1.9 style might be using jquery button click.
Ejilarasan J's user avatar
1 vote
1 answer
281 views

How to restrict order on two different zipcodes, order should be on single zipcode

I am having an ecommerce website named www.bookslab.in. I want to restrict the users to place on order from checkout page if pincode in invalid. I had a pincode validation on my product details page, ...
Salman Dalal's user avatar
1 vote
0 answers
245 views

Backend automatically removes leading zeros / 0 from zip codes - Magento 2.3.4

In Germany, several cities have a leading 0 in the zip code e.g. 07907. When customers with such a zip place an order, magento removes the first zero and stores a 4-digit zip code with that customer ...
TheFrakes's user avatar
  • 317
1 vote
1 answer
62 views

How to Remove Zipcode, State and Company from Magento 2.3

As per the title, you can realize that its a very old and repetitive question, but actually I could not find a solid answer !! I want your help (step by step) how to "remove/disable" the Zipcode &...
mohammad ramadan's user avatar
1 vote
0 answers
47 views

how to save values to magento customer module default stored attributes in magento2? [closed]

I have created new filed in Magento 2 registration form I want to save the values to default stored attributes (if Zip code => default in Magento 2 attributes) How to pass the values to that ...
prabhakaran7's user avatar
  • 1,067
1 vote
0 answers
101 views

How to add New Field in CC form?

I am using an extension for payment cc form,. I added zip code field in my cc form and I want to save zipcode from the zipcode field into my database. So, if user comes again there is no need to enter ...
3434's user avatar
  • 203
1 vote
0 answers
263 views

magento 2 zipcode validation by select city and country in india only

is it possible to select city state and country by validating zipcode in magento 2.I have jquery code for this. But i have no idea, how to integrate with code. any one guide me about this task?
Deivadls's user avatar
1 vote
1 answer
2k views

How to use jQuery function on onKeyPress input event? (Magento 2)

I have this field (postcode or zipcode) <input class="input-text col s12 zipcode" type="text" data-bind=" value: value, valueUpdate: 'keyup', hasFocus: focused, attr: { name: inputName, ...
Plim's user avatar
  • 133
1 vote
0 answers
1k views

How add mask to input with knockout javascript?

I need to add a mask to postcode input (ex: 99.999-99), so I have Vendor/Theme/Magento_Checkout/web/template/form/element/zipcode.html with: <input class="input-text col s12 zipcode" type="text" ...
Plim's user avatar
  • 133
1 vote
1 answer
599 views

Magento 2 plan - zip code preselect - time slots - hiding products for location

I need help with a customized magento 2 webshop. We have custom plan, and I don't know which is the good way. note: We're developers, so custom module development is not a problem So my plan is (...
catchke2ro's user avatar
1 vote
0 answers
144 views

Event on entering the zipcode in cart page

In cart page, on entering the zip code,an event is triggered to send the following data: {"address":{"region_id":"0","region":"","country_id":"US","postcode":"12345"}} In response, the shipping ...
Poorvi Dubey's user avatar
1 vote
1 answer
337 views

Magento 2.1: How to get Product attributes in overridden LayoutProcessor.php

I want to hide the "Zip/Postal Code" region in the summary Block in the cart page.I overwrote the block file LayoutProcessor.php. In that file, if I hid the following portion from the function process,...
DEEPESH KUMAR R's user avatar
1 vote
1 answer
343 views

Cash on delivery payment method restricted for specific zip codes

I need disable cash on delivery method restricted for specific zip codes. I use IWD One Page Checkout for my project
yavonz15's user avatar
  • 417
1 vote
1 answer
44 views

Want to make the zipcode section responsive in every dimension of screen

My website name is bookslab.in. It is an ecommerce magento website. My website is responsive except my zipcode section. I want to make that zipcode section responsive in each & every screen of ...
Salman Dalal's user avatar
1 vote
0 answers
37 views

Change display type of zipcode/postcode

Currently the zipcode inside Magento is displayed as 1234AB in the backend (orders). I want to change this to 1234 AB, with a space between the numbers and letters. I already checked the template ...
JGeer's user avatar
  • 1,395
0 votes
1 answer
160 views

Magento2 - Make zipcode requried for all countries

I want to make the zip-code fields on my website required, no matter the country the address is from. I've checked the magento settings Stores -> configuration -> general -> general -> country ...
Badong's user avatar
  • 91
0 votes
3 answers
158 views

Remember zip code after we visit other Product page

we are using custom module for checking COD is available or not in view page. we entered zip code and checked "COD is available or not", now if we click on other product page, it should remember the ...
Baby in Magento's user avatar
0 votes
1 answer
1k views

Restrict customer in checkout if zip codes are not from predefined zip code list

we are restricting the zip codes for custom shipping method.... for now we are facing problem as here : Display the shipping charges without clicking on "check" button so is there any ...
Baby in Magento's user avatar
0 votes
1 answer
587 views

How to remove exception message automatically after it appears from magento site(Updated)

I am building the magento site named www.bookslab.in. I want to remove the alert message "Above field is mandatory". It appears when users clicks on ADD TO CART button without checking the zipcode ...
Salman Dalal's user avatar
0 votes
2 answers
173 views

get the zip code along with messsage

When we click on "zip code" & enter "check" button, Then we are displaying "Available with 14 sellers" , in front of that text, i want to display entered zip code : "110001". I need :" Available ...
user avatar
0 votes
2 answers
201 views

Dispaly different kind of delivery messages in view page

please visit link you can see there is an option to check delivery is available or not by entering zip code. we saved list of zip codes in database table and if zip code is available in table, it ...
Baby in Magento's user avatar
0 votes
2 answers
459 views

Magento 2 receiving the error (300: AVS REJECTED No address or ZIP match only. CVV2/CVC2 match

We are using Magento 2.2.3 CE, when user trying to place an order with different billing and shipping addresses receiving the error (300: AVS REJECTED No address or ZIP match only. CVV2/CVC2 match.) ...
Nagaraju Kasa's user avatar
0 votes
2 answers
3k views

Magento 2: State and city auto Fill when zip code entered? [closed]

I want to auto fill state and City. When i enter zip code in magento 2 checkout shipping address.
SURENDER SINGH's user avatar
0 votes
1 answer
3k views

Shipping method based on ZipCodes In Magento 2

I want to show shipping method based on ZipCodes. Like if zipcode isn't match with my list than shipping method doesn't need to show. How can i achieve that ?
Developer Webile's user avatar
0 votes
2 answers
532 views

Display different kinds of messages in Product view page

We are using custom shipping method & we entered list of zip codes that are deliverable in textarea in Backend. also list of zip codes that is available for COD in backend in another text area. ...
Baby in Magento's user avatar
0 votes
1 answer
2k views

display shipping charges according to zip code in product view page

please visit link you can see there is an option to check delivery is available or not by entering zip code. you can see text "Selling Price + Rs 40 Delivery" in above image. here 40 is shipping ...
Baby in Magento's user avatar
0 votes
1 answer
390 views

Store zip codes in backend instead of file

we are using an extension for finding shipping charges and we wrote the list of supported zip codes in this file. what we need is instead of updating zip codes through file, we want to save list of ...
Baby in Magento's user avatar
0 votes
1 answer
99 views

Magento2.4: How to get Region name by Zip code?

I need to get the region name based on ZIP/Postal code. My code is below but its not working. Can anyone please help to get the region name by zip code? $postcode = "560100"; $...
MagentoDev's user avatar
0 votes
2 answers
2k views

Magento 2 how to get Postcode from billing address in observer?

I cannot get the postcode from Users's billing Address,this is my code, everything works fine except for the postcode, which i'm not able to pull. $objectManager = \Magento\Framework\App\...
Oscar Vazquez's user avatar
0 votes
1 answer
187 views

Remove the Required field for the postcode at the checkout page

Remove the required field for the postcode for the billing and shiping Address
Divya 's user avatar
  • 392
0 votes
1 answer
265 views

Magento 2 - can't change the zip code in order

I have a very strange issue in Magento 2 orders. In some orders the first number in the zip code is removed automatically. For example 07716 will be 7716. So the zero was dropped. I try to edit the ...
Robert's user avatar
  • 2,166
0 votes
1 answer
530 views

Magento 1.9 COD custom maximum order value & minimum order value limit set

I was disabled default COD module. Now I am using CashOnDelivery Based on Zipcode from magentocommerce. I need to add two custom fields Minimum order total & Maximum order total in backend. ...
vijayvanu_gmail's user avatar
0 votes
1 answer
511 views

Validation required for zip codes less than 6 digits

we have custom module for entering zip codes in backend, only if those zip codes if we enter in shipping address, than it will display COD under payment method , otherwise it will hide COD. Here ...
Baby in Magento's user avatar
0 votes
1 answer
71 views

How can i configure shipping method - i need to cost calculated by weight related to zip code

How can i configure shipping method - cost calculated weight by zip code. how can i provide weight range and price for multiple zip code. eg : Different zipcodes and weight range Is this right or ...
Gem's user avatar
  • 669
0 votes
1 answer
539 views

Zip code to order grid backend

I currently use a extention to display the payment method and SKU inside the grid. I want to expand this with adding the zipcode. How should I expand my code? CODE: app/code/local/Atwix/...
JGeer's user avatar
  • 1,395