Questions tagged [address]

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

69 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
795 views

Disable P.O. Box entry on Paypal Express?

Is it possible to disallow orders shipping to PO Boxes when a customer is checking out using Paypal Express?
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?
3
votes
1answer
716 views

Remove region from address information in checkout

How can I remove the region (code is <!-- ko text: address().region -->) from the address field, if customer is logged in (see screenshot). I have already removed {region} from the customer ...
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 ...
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 ...
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?
2
votes
0answers
31 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
2
votes
0answers
236 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 ...
2
votes
0answers
496 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 $...
2
votes
1answer
230 views

How to Add Multiple Pickup Address

I have two stores, one from San San Antonio and another one Detroit. I will get the details from the customer, I am using FedEx and UPS, Supposed user select San Antonio, San Antonio based shipping ...
2
votes
0answers
213 views

Adding custom attributes to states and a dropdown to cities

I would like to change the way the users enter addresses, and I have several doubts about the best way to do it. First, I need to add a drop down for states/provinces to other countries, for what I'...
2
votes
0answers
742 views

Magento 2: Update Cart “Invalid Address Id”

When i try to update card from my account. It says below error message. https://github.com/magento/magento2/issues/7570 Due to that my DHL International Shipping is not showing Shipping rates.
2
votes
0answers
425 views

How to automatically google map on fill address then checkout street address ,city ,state, and zip code fiil in may form for magento2

Hiii For magento2, We want to google map on fill address then checkout street address ,city ,state, and zip code fiil in field form for magento2
2
votes
0answers
910 views

Magento2 How checkout address form fields works?

I need to add new field in checkout address form. How can add it ? Also need to convert the city address input field into drop-down field.
2
votes
1answer
361 views

Subtotal Discount not Applying to Multiple Shipping Addresses

I'm trying to implement a coupon code subtotal discount (10% off over $150) but it is not applying when shipping to multiple addresses. For example, I can place an order totaling $200. Adding the ...
1
vote
1answer
434 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 ...
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: ...
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
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 ...
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":...
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 ...
1
vote
0answers
23 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(...
1
vote
0answers
30 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 ...
1
vote
1answer
385 views

Default Billing and Shipping address

I would like to check when a customer click on “Place Order”, if he has a default billing and shipping address. If no, I would like to put the addresses of the order by default for this customer. ...
1
vote
2answers
651 views

Close modal popup gracefully in magento2

I am using Magento modal popup for various functionalities in checkout. I am working on an address validation module which fetches the corrected address from USPS API and displays the corrected ...
1
vote
1answer
1k views

Magento 2 how to add city dropdown

i am trying to city as dropdown in only checkout page with following script in Magento\Checkout\Block\Cart\LayoutProcessor.php $elements = [ 'city' => [ 'visible' => true, ...
1
vote
0answers
1k views

Get shipping price with and without taxes

I doing a connection with a webmarketplace. So I developed a script to export my products into a xml file. But, one of the problems I have is that I can't get the shipping amount. I need to get ...
1
vote
0answers
150 views

Customize Billing Address List in Magento 2

Below is list.html file for Billing address. Which contains dropdown with addressOptions. <div class="field field-select-billing"> <label class="label"><span data-bind="i18n: 'My ...
1
vote
1answer
450 views

How to link a customer's addresses to a specific address

How to point all customer's addresses to one specific address? When a new customer is created, the address ID is assigned to the customer's shipping and billing, but it seems that the address' ...
1
vote
0answers
286 views

Magento 2 : Reformat Shipping Address in Review & Payments Section

I create custom attribute for shipping address, after finishing checkout I can see custom attribute below telephone number. I want to change address format to my preference. below is the example of ...
1
vote
1answer
398 views

Region/Country portion of address not displaying in some browsers

On a mostly fresh installation on Magento 2.1.3, when a user fills out their shipping address in the checkout flow, <!-- ko text: address().region -- does not display a State. In Chrome 55 the ...
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
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. ...
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/...
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 ...
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
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 ...
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 ...
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?
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 ...