Questions tagged [address]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Show both delivery and shipping address on registration

How can I show both of addresses on my customer register form on Magento 2.2.4 ? I've added this, but only one address is showing. This is customer_account_create.xml <referenceBlock name="...
0
votes
0answers
13 views

Magento 2 - Customer address custom attribute option label from value

I am using Magento 2.2.8 Enterprise Edition I have a custom address attribute area a dropdown attribute with multiple options. Now when I am getting value of attribute by using this code, I am getting ...
0
votes
0answers
7 views

Magento 2 - How to make address selection mandatory in checkout

In magento 2 I try to make shipping address selection mandatory in checkout page. For exemple 2 possible scenarios : 1/ if no address is selected the 'next step' button is disabled, and when address ...
2
votes
0answers
26 views

Checkout City Dropdown Magento 2

please I am trying to add specific cities to which my shipping carrier destination and make them dropdown in my plugin. This is my code so far but it's not working and I get Exception #0 (...
0
votes
0answers
6 views

Print Address / Shipping Label For Magento 2

Print Address / Shipping Label For Magento 2 We searched the module for address label print and we found the mls print module. We saw the good reviews on their site and purchased that module. After ...
0
votes
0answers
19 views

Magento 2.3.5 Address Verification Suddenly Fails

For about month, my store has been making and completing sales. Now, suddenly it fails on address verification. Vertex is not being used and it clears if we choose Shipping Option 2 (Overnight ...
0
votes
0answers
19 views

Paypal Express Checkout integration issue

I have a Magento 2.3.4 site, and i'm having some problems with paypal. Some customers say they can't place an order, when they try to pay they see a generic error. Tried it my self, it seems to me ...
0
votes
0answers
11 views

Catching shipping/billing address field values from admin create order

I need to catch billing/shipping(either will do) address values when it saved "not from database" but from its direct values sent from view. I realized that Magento has little support for backend ...
0
votes
1answer
46 views

Address Validation in checkout page in Magento 2

I want to validate street address line 1 & 2 with maximum 40 character and without special character. I am using below code for this but it's not working for me. etc/di.xml <config xmlns:xsi="...
2
votes
1answer
263 views

v2.3.4 Customer Import - Please enter a valid region

I'm having a real nightmare trying to import customers using "Single File" right now. I've been using Firebear Importer for this, but I've since noticed that this is happening using the native ...
0
votes
0answers
33 views

Import Address from CSV with multiple 'street' elements

I have some source customer/address data from an old system which needs to be imported to Magento from a CSV file. The source data has multiple Address elements (house name, address 1, address 2, ...
1
vote
1answer
28 views

Customer Adresses rest api - add created_at

I need to return on the webservice /rest/V1/customers/ the created_at and updated_at fields from the table customer_address_entity. Any help? thanks !
0
votes
0answers
47 views

On place order button this error comes up “address” is required. Enter and try again. “address” is required. Enter and try again."

"address" is required. Enter and try again. "address" is required. Enter and try again. On place order button Any idea ,what m missing ?
0
votes
1answer
28 views

Update order status after updating order shipping address using plugin in Magento 2

I am trying to update the order status after the shipping address was changed manually from the adminpanel (when the order is already created). This is my di.xml content: <type name="Magento\...
0
votes
1answer
233 views

Update billing address inserts javascript string in the address

when I hit update the billing address during checkout I get this string from legacy-build.min.js inserted into the address: function e(F,E){var D=0;try{this._each(function(H){F.call(E,H,D++)})}...
0
votes
0answers
21 views

Magento2: How to add city as drodpwn in address book page in my account?

I want to add city drop down on address book page in my account public function citiesJson() { $countriesJson = $this->helperData->getRegionJson(); $countriesArray = ...
1
vote
2answers
135 views

Magento 2: New field in checkout page, find its input value store in which table of database

I created a new field example in the checkout shipping. label example I can check in the table eav_attribte like the below images. But in which table I can check it's Input value if I put a value ...
0
votes
0answers
148 views

Magento2.3: Cannot edit the address in Myaccount dashboard

I have tried to change the address via account dashboard but its not working and I'm getting the below error: 1 exception(s): Exception #0 (Exception): Notice: Undefined index: region in /var/www/...
0
votes
1answer
18 views

M2 - How to fix wrong customer import

I have a live webshop and imported user from the old webshop. The amount of accounts is around 6500. The was something wrong with the import so everyone has a wrong address in their account. So I made ...
0
votes
1answer
228 views

Magento 2: in checkout how to display input fields on the same row?

how can I display street , House number, Addition fields in one row? I have this file app/code/Mageplaza/Osc/Block/Checkout/LayoutProcessor.php <?php /** * Mageplaza * * NOTICE OF LICENSE ...
0
votes
1answer
80 views

One page checkout html file

In one page checkout i need to find html file for the address block. Please can someone help me with that. I want to put first name and last name together in a div.
0
votes
1answer
47 views

Magento 2 miss label Street address in company form

Please help me fix the issue label Street address miss in the backend. I see that have the div class "admin__field-label" duplicate above This is the class delicate
2
votes
1answer
387 views

Magento 2.3.2 How to add Multiline component field in admin form using ui component

I want to add a field like Street address in my custom module. same as customer Address Add from back-end form. it will look like below image. How can I add this kind of field using the UI component? ...
2
votes
1answer
2k views

How to refresh shipping and billing address after checkout page load just like shipping Rates refresh using Knockout Js magento 2

Hi guys, i want to refresh shipping and billing address after checkout page load using Knockout Js magento 2. If you guys have any idea please guide me. Please check the code i tried below ...
0
votes
1answer
281 views

Addresses Delete not working in address book Magento 2.3

Add additional addresses to address book in magento 2.3 then Click on ' Delete Address' link in address book it redirect to 404 page and invalid url shows.
3
votes
1answer
991 views

Save customer custom address attribute programmatically

I have created new address attribute hide_address with yes no value. Using setup script: if(version_compare($context->getVersion(), '1.0.2', '<')) { $objectManager = \Magento\...
1
vote
0answers
88 views

Add custom address attribute to checkout

I create custom address attribute, same as suggested here: https://codeblog.experius.nl/magento-2-add-extra-billing-or-shipping-field-to-the-checkout/ But when I place an order there is error occurs: ...
0
votes
1answer
157 views

Customer street address second line not getting populated

I have address the 2nd street text box(2nd street line), but when I enter the address on both text boxes. code for 1st street line <input type="text" name="street[]" value="<?= $block->...
0
votes
1answer
44 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
1
vote
0answers
39 views

How to add label on all lines of street fields in backend customer address field and turn then required?

how to add label in the backend admin grid that is sales->order-> Create new order from the backend and add the street label and also remove the required field for the postal code
0
votes
1answer
74 views

Magento2 Copy Customer name to invoice billing address name

For billing issues i want to use default customer name as same billing address in invoice only. i.e Customer name is John Doe and he use Johny Doe in billing address when he order. it is ok for order ...
0
votes
1answer
102 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
1answer
56 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.
2
votes
0answers
195 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 same ...
2
votes
0answers
48 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 ...
1
vote
1answer
171 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
22 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
26 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
143 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
235 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
799 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. ...
3
votes
2answers
1k 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
117 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
443 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
3answers
295 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?
1
vote
1answer
444 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
71 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 ...
1
vote
2answers
570 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 ...
3
votes
3answers
7k 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
142 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 ...

1
2 3 4 5