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
0 votes
1 answer
56 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
0 answers
85 views

send methods do not update after changing zip code at checkout

I have a problem checking out magento that I just don't know what to do. If the user goes to checkout and fills in the zip code, the shipping methods are not and do not appear, however, if I have a ...
lucas's user avatar
  • 307
0 votes
1 answer
1k views

How to Block Customers by their Address in Magento 2?

I want a feature in which user will be blocked by their Address. Like I will add the address in block list of Magento Admin and then user will not be able to purchase anything if I add their address ...
Prits's user avatar
  • 626
0 votes
1 answer
390 views

Zip/Postal Code in Table Rates

Can I use asterisk within the Zip/Postal Code column in the Table Rates in Magento 2? For example, if I wanted to include every BT & IV postcode would the CSV file pick up: BT* IV* Please see ...
Tom Henry's user avatar
0 votes
2 answers
394 views

Correct way to block checkout step progress due to invalid postcode

I'm trying to switch the default shipping and billing address postcode validation, where instead of showing a warning if the postcode isn't valid for the selected country, it should show an error and ...
bsod99's user avatar
  • 165
0 votes
2 answers
291 views

Need details of tables that store Zip codes?

I want to use cities instead of zipCodes. Need details of table/s where I could insert city values instead of Zip codes.
meth's user avatar
  • 1
0 votes
1 answer
106 views

I want to set exceptions on add_to_cart button

I am building E-Commerce website in Magento 1.9. I want to add below functionalities on my add_to_cart button on product page: Want to keep add_to_cart button disabled always. I want every user ...
Salman Dalal's user avatar
1 vote
0 answers
235 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
  • 307
0 votes
0 answers
32 views

How to check a zpicode in checkout cart summary block in magento 2

How to check a zpicode in checkout cart summary block in magento 2 like below image
Divya Sekar's user avatar
  • 1,441
1 vote
1 answer
332 views

Default zip code for shipping address

How can I set default zip code for the shipping address??
Chandan Sayed's user avatar
0 votes
1 answer
148 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
1 vote
1 answer
61 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
0 votes
2 answers
355 views

Magento 2 How to disable Postal/Zip code validation from admin while edit customer?

I am facing a strange issue while adding Customer, I had filled all the fields in the customer form including Zipcode but still, I am getting error "Zip/Postal Code" is a required value. In my ...
temper's user avatar
  • 974
1 vote
1 answer
325 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
0 votes
2 answers
1k 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
0 answers
93 views

How to restrict ship to specific countries for several products

There are several products in my store that can only be shipped to the United States, UK, France, Germany, Canada. In addition to these products, other products can be shipped to all countries in the ...
Clark's user avatar
  • 1
0 votes
1 answer
173 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
0 answers
360 views

Show Pincode/shipping availability checker in magento 2 header

I have implemented Pincode checker in Magento 2 product detail page by creating a custom module, but I need to show it in the header section and hide it from the product detail page. How can I achieve ...
Arul's user avatar
  • 309
0 votes
2 answers
429 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
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,057
1 vote
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,355
1 vote
1 answer
212 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
0 answers
100 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
0 votes
1 answer
259 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
1 vote
0 answers
255 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
0 votes
2 answers
2k 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
4 votes
3 answers
650 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
  • 145
3 votes
2 answers
950 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
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
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
0 votes
1 answer
239 views

Display products based on zipcode without installing any extension

How to display products in home page based on zipcode. only particular products will be available for delivery in that particular area(zipcode).How should i do that in magento2?
user64236's user avatar
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
0 votes
1 answer
2k 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
1 answer
391 views

How to restrict, Selected Category Products Purchase only from selected Zip/Pin Codes area?

The selected category of products purchase only from selected Pin/Zip Codes area, how can i do that,, eg: Category: Leaves Zip code : 0214578,2849648 Suppose the customer order from the zip code: ...
zus's user avatar
  • 145
3 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
  • 756
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
1 answer
596 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
0 votes
0 answers
185 views

in check out page check zip code is valid or not?

i m using magento 1.9 i need to create zip code availability check in check out page for particular order.particular product wise check zip code and if zip code is not valid then highlight zip code ...
meet's user avatar
  • 363
1 vote
0 answers
143 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
0 votes
1 answer
583 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
1 answer
529 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
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
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
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
0 votes
0 answers
33 views

How do I display a message to users who pick certain shipping zip codes

I need to display something like a warning message or something like that when a user selects certain shipping zip codes. I would be ok with an extension of some sort. Is this possible? How can I do ...
DevAnd's user avatar
  • 516
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
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
0 votes
1 answer
2k views

how to reload the page everytime when user clicks button

I am building an ecommerce magento site named www.bookslab.in. I had one issue in this website. I want to make compulsory for every user to check their zipcode before they buy anything from the ...
Salman Dalal's user avatar