Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [shipping-address]

Denotes Question related to magento shipping address. https://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_address.html

Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

Error in default API testing | V1/carts/mine/shipping-information

I just wanted to test this API for understanding order flow { "addressInformation": { "shipping_address": { "region": "New York", "...
2 votes
1 answer
2k views

"Shipping and Billing address are the same " / Need to copy current shipping address to billing address - Magento 2

Which function checks shipping address and billing address are the same ? and where it copies the billing address to the shipping address ? Need to replace the default method. Instead need to copy ...
0 votes
1 answer
1k views

How to remove or disable street address and city fields from shipping address in Magento2

Is there any solution disable or remove the city and street fields from checkout_index_index.xml? Thanks
0 votes
1 answer
1k views

unable to get shipment collection by order id

Here is my constructor: public function __construct( //\Magento\Framework\App\Helper\Context $context, \Magento\Catalog\Model\Product $product, \Magento\Sales\Api\Data\OrderInterface $...
2 votes
1 answer
2k views

Magento2 how to show custom addresses in shipping address at checkout page with module

How can I override the shipping block and show my custom shipping addresses there with the module? I have one custom table which has addresses with website id. I need to display that address in the ...
3 votes
1 answer
3k views

update shipping address for shipping method change

I have create custom shipping method ("Store pickup"). When user fill address details at checkout page at that time shipping method showing. Now if user select "Store pickup", i want to set store ...
0 votes
0 answers
16 views

Magento 2 : JS Errors when dealing with Checkout

I use magento 2.2.5. When I imported files from an existing website to another server on plesk. Problem is, after deploying, upgrading and compiling correctly, on checkout I get a message that says &...
0 votes
2 answers
2k views

How to add a default value to checkout shipping postcode in magento 2

I am getting a zip code from the user when customer visit the website first time and saved the zip code using cookie. I want to automatically set the zip code value saved in the cookie to checkout ...
7 votes
3 answers
14k views

Magento 2.2.5: How to validate shipping address

I'm doing Custom Checkout, and here is what i've done til now. The adea is to use validate so when i click on "Next" button, it gonna check if the checkbox in "Terms of Use", if its checked, then it ...
2 votes
1 answer
1k views

Magento 2: How to Show method if not applicable Country Wise?

I'm using DHL Shipping Method. I have set Show Method if Not Applicable to Yes. Displayed Error Message will be displayed, when it's applicable. I would like to show this Error Message by Specific ...
0 votes
0 answers
13 views

Add a div class to all the fields in shipping form in magento2

I want to customize my shipping and billing form in magento one page checkout process and for that I have to add a custom CSS class/div class to shipping and billing form.If anyone have any leads, ...
0 votes
2 answers
56 views

Remove First Name and Last Name Required Validation from the checkout

When I add the new address as a Loggined In Customer at the checkout by clicking add new address button, I want to make fields First Name and Last Name unrequired. I applied this code : <?xml ...
0 votes
0 answers
26 views

Override checkout shipping/billing detail section

I have encrypted customer ,shipping/billing address , now I want to show decrypted customer address on checkout shipping page section , I have tried with plugin on process no success. Please suggest ...
1 vote
2 answers
3k views

Magento 2 : add custom message on checkout page on shipping address change

I want to show custom message under shipping method section. when address changes message also change/remove. for example: When custom select Columbia addess I want to show custom notice/message ...
1 vote
1 answer
1k views

Vat Number missing in Billing Address Magento 2

I am trying to checkout as a Guest and when I proceed to the Payment Step, I have checked the data saved in the Shipping Step and I found that Vat Number is missing in the Billing Address, but in ...
0 votes
3 answers
3k views

How do you make the Place Order button disabled until after the address update button is pushed?

I am in Magento 2.13. If a customer checks out and uses a different billing and shipping address, the place order button is live, even if they have not pushed the update address button. This causes ...
1 vote
1 answer
1k views

How can I programatically add shipping address to checkout form

I'm making a custom shipping module. When a user selects the shipping method, I want it to populate the shipping address fields with some custom address data. I have overridden the select shipping ...
0 votes
0 answers
16 views

How to add a "default address" option to the new address form on the Magento 2 checkout page?

I want to add a "default address" option to the new address form on the Magento 2 checkout page. If selected, I want the added address to be the default billing and shipping address after it ...
0 votes
1 answer
2k views

Remove <label> tags from shipping address fields on the checkout page in Magento 2.2.2

I am trying to remove all the <label> tags from a shipping address form on the checkout page. Here is the answer to hide those labels using CSS. I am trying to move those labels below the ...
1 vote
2 answers
1k views

Magento 2.1.2: How to remove billing address lastname field and shipping address lastname field

In Magento 2.1.2 How to remove billing address lastname field and shipping address lastname field ? I update to eav_attribute table. UPDATE eav_attribute SET is_required = 0 WHERE attribute_code = '...
5 votes
2 answers
3k views

Magento2 : How to force Shipping Address is the same as Billing Address?

Is there a way to prevent the addition of a different address at checkout, so that billing and shipping addresses are always the same? With this I'd like to also prevent the user adding a shipping ...
0 votes
3 answers
3k views

Remove street address field and required attribute from shipping address

I have a very custom use for Magento and I'm trying to remove street address from the checkout. Currently I have: class LayoutProcessor { /** * @param \Magento\Checkout\Block\Checkout\...
2 votes
1 answer
3k views

Shipping Region ID is missing in checkout after upgrading from Magento 2.3.4 to Magento 2.4.1

After i upgrade from Magento 2.3.4 to Magento 2.4.1 after choosing the shipping address in the checkout page, i got this error: Please specify regionId in shipping address then i see the region is ...
0 votes
0 answers
19 views

How to add the custom jquery in magento2 checkout shipping popup

I need to some jquery functionality in checkout page shipping popup. where I need to add the jquery for that page. Please help me.
0 votes
0 answers
33 views

Tracking information is currently not available UPS Magento 2

I had configured the UPS shipping method, it is showing and working fine with checkout, but when I click on Track Order From Admin, It is Showing Error "Tracking information is currently not ...
1 vote
1 answer
2k views

Magento 2 - Please enter less or equal than 255 symbols valiadtion error in checkout page

Magento 2 - Please enter less or equal than 255 symbols error message in add new shipping address popup form Currently i am getting an error validation message when i open the add new address form to ...
0 votes
0 answers
55 views

2 addresses combining after checkout

Version Magento 2.4.5-p2 I have 20 plus orders in the last few months that the shipping address is incorrect after the order is placed. Talking with affected customers, they are positive the screen is ...
0 votes
2 answers
1k views

How to get the shipping address by order ID?

How to get the correct shipping address for an order ID? I am using Magento\Sales\Api\OrderRepositoryInterface to get the order information by order ID, but there are no methods for getting the ...
1 vote
1 answer
1k views

Magento 1.9 Paypal Express Checkout force shipping address on review page for non logged in user

In the last weeks, Paypal Express is not always importing the address via on the review page and the customer is not able to select shipping methods for non logged in user. The customer just assumes ...
3 votes
1 answer
3k views

Magento event after filling checkout shipping address

Which magento event gets triggered after filling shipping address on checkout one page as I need to pass some information to a third party api just after shipping address.
2 votes
1 answer
2k views

Magento2 - How to add static country code in Phone Number input field?

I have only one country in country dropdown and I want to add static country code in Phone Number field in shipping and billing address in checkout. How Can I add this in checkout shipping and ...
2 votes
1 answer
3k views

Show State/Province code in address

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 "...
4 votes
2 answers
1k 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?
0 votes
1 answer
3k views

Magento2: How to change the Shipping Address Form validation message?

I want to change the shipping address form validation message(Just want to replace : 'This field required' to 'Enter FirstName') in magento2 I want to change the below validation message text how can ...
0 votes
1 answer
345 views

Magento checkout payment page add custom field

I need to add custom fields in the payment step of the checkout page in Magento 2 and also data should be saved in needed tables. I want to add a payment comment note before-place-order. how to do it ...
0 votes
1 answer
78 views

How to Use Customer Address template (set address in Customer Address Template )?

Thank you in Advance I want to use customer address template to show customer template in format but I don't know how to do this ? You can find this configuration :- Store > Configuration > ...
0 votes
1 answer
180 views

how to add Strike through on original price and show cart rule discounted price

add strike through on the price and show the discounted price after strick through price on the checkout shipping step summary section
0 votes
0 answers
52 views

Magento 2.4 how to create a custom region select at checkout

Good morning, does anyone know how I can create a custom selection in the checkout of the type "Magento_Ui/js/form/element/region" something like the default selection of "region" ...
0 votes
0 answers
54 views

Magento 2, In checkout page shipping method is loading while changing the shipping address

Magento 2, On the custom checkout page, the shipping method is loading while I am changing the shipping address and getting the below error in the browser console. js.storage.js:155 Uncaught TypeError:...
0 votes
0 answers
57 views

How to restrict the Shipping Country to United States only?

Magento 2.4.2-p1 Amasty extensions Smartwave Porto theme As a gift shop in the United States, I am only able to ship within the United States yet the drop-down in the Shipping address field contains ...
0 votes
0 answers
279 views

Magento 2 : Graphql setShippingAddressesOnCart default query duplicates the addresses in quote_address table

I'm using Magento version 2.4.5-p1 And I'm trying to setShippingAddressesOnCart using graphql for logged-in customers. This is the default Magento setShippingAddressesOnCart query I'm using but it's ...
0 votes
1 answer
42 views

How to print / echo / debug RateRequest properties in custom shipping method

I'm able to use this city dropdown plugin successfully. Now I'm trying to call shipping vendor API in my custom shipping module. Can anyone help me how I can print / echo / debug the destination in ...
0 votes
0 answers
12 views

There are no payment methods

I have overwritten the checkout_index_index.xml to add a custom input but when I go to step 2 the payment methods are not displayed. I leave the checkout_index_index.xml. <page xmlns:xsi="...
0 votes
0 answers
53 views

Export orders with addresses in xml

I have a problem with a Magento ver. 1.9.4.5 website with well over 55.000 customers in it's database and I need to export them. I have spent hours trying with System/export/profile and selecting ...
0 votes
2 answers
62 views

Magento 2 - Checkout. Remove “New Address” Button from checkout billing/shipping address with module for B2B customers

Magento 2 - Checkout. Remove “New Address” Button from checkout billing/shipping address with module for B2B customers
0 votes
1 answer
280 views

Shipping Address validation

I need to validate text fields in magento shipping address popup in checkout page.I can edit validation for other forms locally.I tried many thing still not able to find the solutions.please send the ...
2 votes
0 answers
1k views

Address validation in magento 2 checkout page and address book

I am facing an issue with invalid address inputs by customers. I have implemented paypal integration in my magento 2 site. If the user enter an invalid address, paypal is rejecting the payments. I ...
0 votes
0 answers
86 views

Magento 2 Country and Region/state not showing values on checkout address form randomly

I am facing an issue with magento 2.2.11 this happens ramdonly, Country field and region/state field do not load select values on checkout address form I've checked that in stores->configuration-&...
0 votes
1 answer
57 views

I want to show default address in checkout shipping address

I want to show a specific address in the shipping address every time whether a customer has a shipping address or not. No matter cart is a guest or logged in only a specific address should show in the ...
1 vote
0 answers
292 views

How to get selected shipping address from js component in Magento 2?

I'm very new to the Magento world and I'm trying to figure out how do I get the currently selected shipping address in Magento 2. The goal is to only display the selected shipping address in the ...

1
2 3 4 5
10