Skip to main content

Questions tagged [regions]

0 votes
1 answer
366 views

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
1 vote
1 answer
1k views

I'm importing my customers via code and part of that import involves addresses and regions. If the region is in the database, I have no issue in importing it, I simply get the region id by the region ...
Lou Nik's user avatar
  • 527
0 votes
1 answer
124 views

I'm trying to import customer addresses. If the region has a name with accents, Magento v2.3.6 won't recognize it. Example: Country code 'RO', region 'Timiș' - doesn't work Country code 'RO', region '...
Georgian's user avatar
  • 101
0 votes
1 answer
305 views

$this->getSelect()->join( ["address" => "sales_order_address"], 'main_table.entity_id = address.parent_id AND address.address_type = "shipping"', array('region') )->joinLeft( ["so" => "...
Arul's user avatar
  • 309
0 votes
1 answer
500 views

I found some regions in a specific countries are obsolete and new ones are missing. I know how to add region by installData.php in a custom module but i dont know how to remove the obsolete ones. ...
krybbio's user avatar
  • 1,258
0 votes
1 answer
388 views

Hi to all I added Italian region name in magento db by SQL in directory_country_region as follows: INSERT INTO directory_country_region(country_id, code, default_name) VALUES ('IT', 'TO', 'Torino'); ...
Davide Iandoli's user avatar
0 votes
2 answers
309 views

I am passing the parameters as 'recipientstate' => $customer['region'] and 'cardholderstate' => $customerbilling['region'] Right now I am getting the region value's as ARIZONA , but I want it ...
Amy's user avatar
  • 945
4 votes
2 answers
4k views

I am not able to get region text from address id, <?php $_pAddsses = $block->getDefaultBilling() ?> <?php echo $block->getAddressById($_pAddsses)->getRegionId() ?> // ...
summu's user avatar
  • 847
5 votes
1 answer
4k views

I followed below link to update address using address id Update customer address using address id in magento 2 I am getting this error upon executing this code protected $addressRepository; public ...
Jafar Pinjar's user avatar
  • 1,911
0 votes
1 answer
1k views

Thank you for making your attention to my question. I'd like to show Region List ordered by region_id on the DB with RegionUpdater. Currently its ordered by Region's name alphabet. I tried to ...
7steps's user avatar
  • 1
0 votes
2 answers
883 views

I want to show my custom shipping method based on state/region.
Avinash Sain's user avatar
0 votes
2 answers
1k views

I need to set a default value for the region(state) in the checkout page. tried it using jQuery. it's showing the value the field but it's not saving. require([ 'jquery', 'jquery/ui'], function($){ ...
SUBIN CHANDRAN's user avatar
1 vote
0 answers
558 views

I am working on the region updater in magento 2. Region Field needs to change based on the selection of country. Below is my region updater code: var billingRegionUpdater = new RegionUpdater('#...
Magento Developer's user avatar
2 votes
1 answer
3k views

When a customer make an order, in the shipping and billing address appears the extended Province name (for example "Lecce"). Is it possible to show the Region code "LE" instead of the Region name "...
stsnow's user avatar
  • 219
1 vote
1 answer
370 views

I'm fairly new to Magento and I'm not quite sure how to add a State/Province field to the register.phtml form. I read somewhere that it's not a good idea to edit this file since it gets wiped whenever ...
Collin's user avatar
  • 13

15 30 50 per page