Questions tagged [address]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Magento\Quote\Model\Quote\Address is not the instance of \Magento\Framework\DataObject

In vendor/magento/framework/DataObject/Copy.php::_getFieldsetFieldValue the paramter $source is an object of Magento\Quote\Model\Quote\Address. In _getFieldsetFieldValue, $source will be considered ...
0
votes
1answer
49 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
40 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
31 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
0
votes
0answers
12 views

Magento 2.X: Showing wrong order address country in sales order view

We are using Magento version 2.1.8. We have set UAE as the default country and allowed countries as UAE and SA. On placing an order using SA address, the sales order view shows UAE as the country. ...
0
votes
0answers
13 views

Magento2 add field in shipping adress step or cusomer address information when customers are register

I would like to add the Tax/VAT field to the shipping step during the guest checkout phase, which is currently available when customers sign up from Magento2. Not new, add existing field to address. ...
2
votes
1answer
104 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? ...
0
votes
0answers
22 views

CE 2.3.2 - Checkout Error - Switching between multiple addresses (array to string error)

Before opening a bug report, does anyone else faced this issue ? When a user with multiple addresses try to select one of it, this error is shown Notice: Array to string conversion in /var/www/...
1
vote
1answer
432 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
83 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.
0
votes
0answers
11 views

How to add custom address of customer in new order or new shipment email template?

I want to add label before the address fields.I found that currenly customer address is rendered from backend->Configuration->Customers->Customer Configuration->Address Templates. But when i edit it ...
3
votes
1answer
177 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
39 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
0answers
47 views

How to autofill telephone filed in billing form at checkout page Magento2

Does anyone know how to autofilled checkout billing form telephone ?
0
votes
1answer
42 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
34 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
25 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
40 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
0answers
12 views

Is there a way in magento2 to detect if placed ordered ADDRESS IS NEW ADDRESS OR NOT?

I'm using Magento 2 order split 3rd party extesnion which is splitting order based on the seller. if an user placed an order having 2 items where each items have different seller then 2 order will be ...
0
votes
0answers
72 views

Magento 2 remove requirement for address,city and country fields in checkout

Need to make address,city and country fields not required on checkout as the shipping methods used in store does not require them. Edited database and removed "is_required" parameter from the ...
0
votes
1answer
20 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
30 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
15 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
51 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
43 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
32 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
80 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
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
57 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
90 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
351 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
467 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
101 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
253 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
125 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
148 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
47 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
298 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
2answers
3k 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
87 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
603 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
48 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
61 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
414 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
72 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
112 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 ...
1
vote
0answers
32 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
143 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
389 views

Magento 2 | Remove telephone from checkout address

How can I remove the telephone field from the address fields in checkout (without CSS)?