Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [address]

For questions about the use of shipping/billing addresses in Magento.

0
votes
1answer
16 views

Change condition to add new address if no address save in customer My address book

I want to change the condition that redirect you to customer/address/new if you want to see your address book. I just want to open the address book empty without force users to add a new address in ...
0
votes
0answers
17 views

Sell only for a state or region in Magento 2

I'm looking for help, I need to leave the state fixed in the shipping and billing in magento 2.
0
votes
0answers
8 views

How to expose custom field from sales_order_address table to rest api magento 2

I am able to add a custom field called "subdistrict" to Checkout address of Magento 2. Data is stored nicely in table sales_order_address table now i want to expose this field throught rest API, can ...
2
votes
0answers
22 views

How to Add checkboxes for default billing/shipping address and show as check/uncheck

Currently Billing and Shipping address don't have checkboxes to select, to change it from Billing to Shipping or Shipping to Billing. It only shows a message info. So, I want to be checkboxes as ...
0
votes
0answers
16 views

How do I remove store-wide the state/province field for users

In our German store for users it is not required to select a state/province for their personal address or shipping addresses. I already managed to disable the the field in the store frontend via the ...
2
votes
0answers
17 views

Change Shipping Address Form to Billing Address Form on Guests Checkout Magento2 2.3

my client wants that the shop guests should first fill in the billing address instead of the shipping address on the checkout page. How can I change the shipping address form with the billing address ...
0
votes
1answer
28 views

Magento2 Event after Default Billing address change, How to send email if Billing address change?

I want to send an email to admin if the default billing address selection is changed or the values are changed by the customer. How can I achieve this?
2
votes
1answer
21 views

magento 2.1 change address structure hierarchy

I want to show state, province, postcode in line like below india-dehli 185235 how can i change the hierarchy of address structure?
2
votes
0answers
24 views

Magento2 address template

I want to show my addresses on customer panel like this: FA, Macon, rujeh st, NO12. instead of: fa macon rujeh st no12 what should i do?
1
vote
0answers
20 views

VAT-Id activated. missing field in shipping or billing address on checkout page

I've activated the option "Show Vat-Id in frontend" but the VAT-ID Field on the checkout page address forms is still not displayed. How can i add the VAT-ID field to the address forms on the ...
0
votes
1answer
39 views

Address format checkout page issue in Magento 2.2.3

On the checkout page the address format is not assumed. Customer address format defined in the backend is ignored. This is the format defined in backend {{depend prefix}}{{var prefix}} {{/depend}}{...
3
votes
2answers
173 views

How to reorder street address on checkout page in magento 2?

I am getting every field unordered on checkout page but I added code to sort them and now everything is sorting but the street address is not getting sorted I am getting a street address field on top....
2
votes
2answers
208 views

How to get Region text from address id (Magento 2)

I am not able to get region text from address id, <?php $_pAddsses = $block->getDefaultBilling() ?> <?php echo $block->getAddressById($_pAddsses)->getRegionId() ?> // ...
1
vote
0answers
50 views

How to remove city field from admin “Create New Order” Billing Address?

Hi I am working with magento 1.9.3 In admin panel I need to remove City field form Create New Order page (Both Billing and Shipping Address). Can anyone suggest me please how I can do that? For ...
1
vote
1answer
72 views

Unable to delete address from Address Book , My Account (Magento 2)

I am not able to delete the additional address from the address book. Code for script <script type="text/x-magento-init"> { ".page-main": { "address": { "deleteAddress":...
3
votes
2answers
45 views

Remove Addresses tab from customer edit page magento 2

How to remove Addresses tab from customer edit(form) page in admin panel Magento 2?
0
votes
1answer
34 views

Magento 2 Around Plugin get posted form value

I am customizing the address form to add custom arithmetic captcha. We are using ClassyLlama\AvaTax module to validate the customer address in Model File. Now, to validate my custom captcha on server ...
1
vote
1answer
29 views

how to open new form in another phtml without url change

I have put the form for add new address of Address book in address book index page itself without redirecting it to a new page for adding a new address. I need to open the form html on click of add ...
0
votes
2answers
168 views

Magento 2 How to override “\vendor\magento\module-checkout\view\frontend\web\js\view\billing-address.js” in our custom module?

I want to disable "New Address" option from billing address drop down. here i got the code to disable it. we just need to comment the below code : addressOptions.push(newAddressOption); and it will ...
0
votes
2answers
625 views

Magento 2 How to add custom attribute to customer address and how to insert value in that attribute?

I want to add a new custom attribute to "customer_address" that I did with an attribute installer script, now I am able to see that field in "eav_attribute" table. I have created a module and I have ...
0
votes
1answer
30 views

Magento 2 How to get custom field name 'location_id' aded to “customer_address_entity” at frontend, on order place after observer?

I have create one module which add 'location_id' in 'customer_address_entity' table. I also create one observer which called when order placed. Here i got the address id from order, Now i want to ...
0
votes
3answers
326 views

Magento 2 How to override Magento\Customer\Block\Address\Book block in my custom module?

I want to override block Magento\Customer\Block\Address\Book in my custom module. And need to add a new function which returns module status enable/disable, which is defined in the model class. I need ...
0
votes
0answers
25 views

Magento 2 - Estimate Shipping method by custom form

I want to add custom form field of zip code for US country in Estimate Tax section in cart summary. Does anyone know about this?
1
vote
1answer
44 views

Magento2: Select box as title in checkout as select

The title field in the checkout of M2 is only text field. Is there a possibility to use a select button instead to let the customer choose between "Prof" and "Dr"?
3
votes
2answers
96 views

How to get file location in magento 1.9

How to get file location of this page in magento 1.9
0
votes
0answers
48 views

How to add Address type in Shipping Or Billing address Magento2

I want to add address type radio button in shipping or billing address every where on checkout, myaccount page.
0
votes
0answers
38 views

how to Show address fiels in new form registration for Customer magento 2

I created a new form registration for customer and according to group, they will be redirected to a form. I added the fields of address in the first one by adding this code at customer_account_create....
0
votes
0answers
83 views

Show address fields in form registration in Magento 2

I have created another form registration for customer and according to group he will be redirected to a form. I added the fields of address in the first one by adding this code in ...
0
votes
0answers
11 views

Show Address in two form registration magento 2

I can see the address field in the first form because I added this code in customer_account_create.xml: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=".....
1
vote
0answers
31 views

How to customize the address in registration form Magento 2

I want to have the attribute address and region and not post code and country name so how to do that?
1
vote
0answers
94 views

Invert 'My billing and shipping address are the same' checkbox functionality in checkout

I need to do a little customization in checkout: I want to change the functionality of the checkbox My billing and shipping address are the same in this way: The label will be Need Invoice (already ...
3
votes
2answers
237 views

Magento 2 | Remove telephone from checkout address

How can I remove the telephone field from the address fields in checkout (without CSS)?
2
votes
0answers
29 views

How to create new type of customer address like billing and shipping in Magento 2 (EX : xyz address)

How to create new type of customer address like billing and shipping in Magento 2 EX : xyz address
0
votes
1answer
305 views

Magento 2 : How to change state list for USA? [duplicate]

How can I change/remove some states from Shopping Cart and Checkout page? For example. I need to remove: American Samoa; Virgin Islands; Armed Forces Africa (Americas, Canada, Europe, Middle East, ...
3
votes
1answer
409 views

region Id error on updating address using address Id in magneto2

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 ...
6
votes
3answers
1k views

How to update customer address using custom Api in magento2?

I have created custom API to update customer address using customer id or address id. Below code I used to implement it. [Vendor]/[Module]/etc/webapi.xml <route url="/V1/address/createUpdate" ...
1
vote
0answers
20 views

Shipment Note PDF Print don't shows the shop address magento2

I am trying to put the store address to the shipment pdf. I found that Magento has an own function for address insertion, but it doesn't work. Sales/Model/Order/Shipment.php public function getPdf(...
2
votes
0answers
170 views

How to add new address for a existing customer through REST API

I am facing one issue. Actually I have created first the customer profile using magento2 through REST API but now I am trying to add the address for this existing profile but unable to do it. My code ...
0
votes
0answers
15 views

Magento 2 Custom shipping address

I need to provide for the customer to choose between a regular shipping address or Post Office address (which has different fields). I am new at this, any help would be appreciated :D
1
vote
1answer
278 views

Magento 2 : From where (PHP) is the checkout billing address options drop down being populated?

From where is the checkout billing address options drop down being populated? How can I control the options? EDIT: Found root/vendor/magento/module-checkout/view/frontend/web/js/view/billing-...
1
vote
0answers
28 views

M2 : After magento upgrade not able to save “state” form address edit page

I have upgrade magento version after that i'm not able to save state (region), from both admin and frontend side into address edit section. I have check customer's attributes and address attributes ...
0
votes
2answers
475 views

How to set required field ''State/Province' of add new address in My Address Book, magento 2?

Using magento 2.2, I want to set required on field State/Province in Add New Address in 'my address book'.
2
votes
1answer
246 views

How to disable link in telephone phone number in address book?

Using magento 2.2, I want to remove link from phone number in address book. Not allow user click on number.
0
votes
0answers
23 views

Custom attributes for Address like landmark,locality,address-type etc. is not saved via admin panel.But it works in api

I make a module for creating a custom attribute for an address like landmark, locality,address-type etc. Address updated is working through Rest API, but when edit address through admin panel of ...
0
votes
0answers
51 views

How can capture address of customer Magento 2 checkout page?

I want to add tracker at one page checkout page address field that capture address of customer. Google Address Autocomplete just click button as below screenshot: as example non-magento site: https:...
0
votes
0answers
28 views

Get new field address in the payment module (capture function). M2.2.4

I added a new field (neighborhood) at the client's address. Everything is working. But, I need to get this value from my payment module. I created the capture ($payment) function. With the $payment->...
0
votes
1answer
128 views

Unable to place order from Magento Admin, showing error on city field required

I am unable to place order from admin. I enter all the data in required field. When I place order, error showing in the City field - this is a required field. I am using magento 1.9.3.7 version can ...
0
votes
1answer
43 views

Magento 2 - billing address not changed

following code: <?php namespace UV\Adressen\Observer; use Magento\Framework\Event\ObserverInterface; class LieferadresseEditObserver implements ObserverInterface { private $...
2
votes
0answers
445 views

Add custom attribute to sales order address

I have a custom attribute for customer address which I setup using EAV, I load the custom attribute for customer address using order like this: // Magento\Customer\Api\AddressRepositoryInterface $...
0
votes
1answer
265 views

Which event fire on address change in Magento 1 Admin?

After place new order by customer, If Admin change shipping address of customer from Sales-> Orders then I want to know which event fire while changing address, so that I can call my function in ...