Questions tagged [shipping-address]

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

233 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
fudu's user avatar
  • 1,278
7 votes
1 answer
3k views

How to edit for existing shipping addresses in checkout page magento2?

How to edit the existing shipping address in checkout page. Magento2 have edit address option for only new added shipping address. Magento\Customer\view\frontend\web\js\model\customer\address.js ...
Ajesh's user avatar
  • 71
6 votes
0 answers
230 views

How to get custom table values into front-end checkout address section in Magento 2

For custom requirement, we are saving few values in our custom table with customer id and address id. We are trying to display those values in the checkout page address section based customer,address ...
Krishna ijjada's user avatar
5 votes
0 answers
329 views

Magento2.3: Display Custom text on Shipping Address

I would like to add custom text whenever shipping country is Sweden, Ive created Magento_Checkout module in my custom theme and added a phtml file <div class="free-shipping-info" data-bind="...
paranoid kid's user avatar
5 votes
0 answers
250 views

Magento 2.2 - add multiple new shipping address from checkout page

I want to add multiple new shipping addresses from checkout page currently Magento allows only one new shipping address from the checkout page
Emipro Technologies Pvt. Ltd.'s user avatar
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 ...
Aravona's user avatar
  • 367
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", "...
Ajwad Syed's user avatar
  • 1,591
4 votes
0 answers
329 views

Magento 2 Shipping to Multiple Addresses using REST API

Has anyone tried creating order with multiple shipping addresses using REST API? I can see the option in the admin dashboard to enable such functionality, but I cannot find any documentation if it is ...
spik3s's user avatar
  • 171
4 votes
0 answers
115 views

Magento 2 - Remove option for same biling and shipping

I have a site which requires all customers to enter a different shipping and billing address. I know a little strange but all orders will have a different shipping and billing. The problem I have is ...
jmsflynn's user avatar
4 votes
0 answers
1k views

Magento 2 First Name is a required field Error While Placing Order

When I try to place an order after the customer registration/Login. Magento 2.2.5 shows "First Name is a required Field Error". A Sample error message is attached. This is the response I am getting:
Usman Yousaf's user avatar
4 votes
0 answers
602 views

magento2 Display Shipping estimation Block in Product view page

In MAGENTO2 I want to show the "Estimate Shipping and Tax" in my product view page. So I add the add the "cart/shipping.phtml" to the catalog_product_view.xml but it doesn't work. Then I copy the ...
Fly_to_the_moon's user avatar
4 votes
0 answers
1k views

Default Billing Address not saved when user having no address and do checkout In Magento 2

I need help to save the default shipping address as Default Billing address. Steps to follow : Register as a new customer Now add product into cart Go to Checkout and fill Shipping Address Place an ...
Salma Saiyad's user avatar
  • 1,214
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?
user4984's user avatar
  • 343
3 votes
0 answers
573 views

Set quote.shippingAddress() , after adding new billing address in checkout form magento 2

Need to Set quote.shippingAddress() , after adding new billing address in checkout form magento 2 in js file. Actually quote.shippingAddress() gets null after adding new billing address. That's why i ...
Hamendra Sunthwal's user avatar
3 votes
0 answers
314 views

Magento 2: Change Error message First Name field in Shipping Address

I want to change error messages in Shipping address form to more descriptive on onepage checkout page. For example, I want to change This field is required to First Name is required. I am not able to ...
mysterious's user avatar
3 votes
0 answers
193 views

Magento 2 : In registration page how to ask for shipping address different than company address?

In registration form I want to ask the user if he wants to use a different address for shipping address. If that is true, then he can input the fields for the shipping Address. I have tried to ...
Oscar Vazquez's user avatar
3 votes
0 answers
316 views

Shipping address edit content not loading in fields Magento 2

While clicking the edit button in shipping address on the one-page checkout Magento 2, field values are not loading in the popup. Please help me.
soofz's user avatar
  • 360
3 votes
0 answers
585 views

How to auto fill (add default value) the shipping address in Magento 2.3

I want to auto fill the field (such as First Name, Street Address, State/Province..) in Shipping address (checkout page). like this : I have reference some solution such as : How to auto fill the ...
Andrew Ho's user avatar
3 votes
0 answers
62 views

Magento2 edit shipping address at payment section

How can i edit shipping address in payment section at checkout page? I want to update shipping address when user select store pick up shipping address.If anyone idea reply me I have review this.
Jimit Bhavsar's user avatar
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 ...
Jimit Bhavsar's user avatar
3 votes
0 answers
555 views

Magento 2 : Add Custom Fee Based On Shipping and Billing Address

I already refer this : how to add fee to order totals in magento2 But my requirement is diffrent. I need to add custom fee in order total based on Shipping or Billing address selected by customer ...
Dhiren Vasoya's user avatar
3 votes
0 answers
1k views

Magento 2 : How can i add custom customer address field in e-mail template?

I have added one custom Field for customer address, and i want to display in checkout page, customer my account section and in All sales email template (In Billing and Shipping Address). Please help ...
Chirag Prajapati's user avatar
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.
Arun Pal's user avatar
  • 523
2 votes
0 answers
40 views

shipping collectRates method $request->getDestRegionId() is empty value on estimate-shipping-methods-by-address-id

shipping collectRates method RateRequest class method of $request->getDestRegionId() is returning an empty value on estimate-shipping-methods-by-address-id, but same working well on estimate-...
Mohamed Abbas's user avatar
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 ...
Purushotam Sharma's user avatar
2 votes
0 answers
92 views

Magento 2.3.1: Billing / Shipping Address Zip Code Automatically Removes Leading 0's

We have an issue where the Billing / Shipping addresses on an order will automatically remove the leading 0 from a zip code. For example: Danbury, Connecticut, 06811 becomes Danbury, Connecticut, ...
AJK's user avatar
  • 751
2 votes
0 answers
202 views

shipping information was unable to be saved .Verify the input data and try again

I am using magento 2.3.2. While I am doing checkout and enter my mail id then immediately I am receiving this error.I am attaching the issue. Please let me know the exact issue I am facing.Initially I ...
Maruti_magento2's user avatar
2 votes
0 answers
31 views

How to get customer default shipping and billing address data (i am after country and postcode)

I have customer ID - Not sure how to grab the default shipping/billing address. I can get the current shipping address and billing address but not the default. Is there any way I could get the default ...
jibin george's user avatar
2 votes
0 answers
261 views

Magento 2: add custom field to shipping and billing address at checkout page and save it in admin side sales order

I want to add to custom fields to the shipping and billing area of the checkout page. When a user clicks on place order it should be saved and display in admin side sales order page. Here I saw You ...
Ronak's user avatar
  • 456
2 votes
0 answers
36 views

How to add a check for VAT

Is it possible to add a check for shipping address on frontend? I am not sure or know much about VAT and I am planning to put a check before customer purchase any goods from the website. I have a ...
Jack Brooks's user avatar
2 votes
1 answer
417 views

How can I reload shipping methods when custom checkbox address attribute clicked?

Is there a way to update the shipping methods when clicked on my custom checkbox attribute? When I change the city or the postal code the shipping method reloads but not with my custom checkbox. ...
Gonzalo Gutiérrez's user avatar
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 ...
Arun's user avatar
  • 31
2 votes
0 answers
636 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 ...
summu's user avatar
  • 847
2 votes
0 answers
356 views

How to move next button in checkout to sidebar and keep it's behaviour. Magento 2.3

As in question title. Button is placed in Magento_Checkout/view/frontend/web/template/shipping.html I need to move it under sidebar section or create new button which will act the same like old one. ...
Robert_Szczepaniec's user avatar
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 ...
Utsav Gupta's user avatar
  • 1,243
2 votes
0 answers
2k views

Magento2: Set PO box validation on checkout page in shipping address in street field

How to set PO box validation on checkout page in shipping address in street field. If anyone enter string like PO Box, P.O Box, Post Office Box. So want throw java script error.
Ravi Soni's user avatar
  • 1,809
2 votes
0 answers
253 views

Create order programatically without billing and shipping address

I have a couple of virtual products in my Magento 2 website, I’d like to create the order programmatically without inputting shipping and billing address, is that even possible?
Tiny Dancer's user avatar
2 votes
0 answers
2k views

How to Refresh/reload Magento 2 Quote Object in checkout session/page

TLDR How can we reset or refresh or reload the quote session/cache key with the shipping address collection that belongs to it in Magento 2 checkout page. Lengthy/Confusing Explanation We are ...
Elamurugan's user avatar
2 votes
1 answer
1k views

How to set a default value for the city field in checkout shipping address - magento 2

I just need to set a default value (with readonly attribute) to the city field in the shipping address section. because the delivery is limited to a particular city at the moment.But the user is free ...
Shan's user avatar
  • 355
2 votes
0 answers
21 views

Not able to get shipping details on custom page

The below code I have created a custom step at checkout. I wanted to display the shipping information on it. I have written the code but it is not working. <item name="order-...
Avesh Naik's user avatar
  • 1,200
2 votes
1 answer
118 views

Magento 2 - Add a new field in checkout address form js error

Magento version: 2.2.2 I need to add a custom field in address form on checkout page. So i did what is described on magento documentation: http://devdocs.magento.com/guides/v2.2/howdoi/checkout/...
Lucas's user avatar
  • 21
2 votes
0 answers
515 views

Magento 2: Move shipping address popup below address options

I am trying to remove modal popup for new shipping address form in checkout and place it below saved address as a div. Have anyone idea about this?
user57208's user avatar
2 votes
1 answer
785 views

custom field value not showing in shipping address in magento backend

I have added a custom filed mobile number in magento 1.9 both in checkout and customer registration everything working fine if a customer register i can see the value in customer account information ...
amith lal's user avatar
  • 790
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 ...
Arun SS's user avatar
  • 451
2 votes
0 answers
2k views

Magento 2 : Add Custom Field on Checkout

I need to add text field below shipping address checkout page and save content in sales_order table in database. I tried following http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_form....
Marek Mularczyk's user avatar
2 votes
0 answers
92 views

Append custom shipping address attribute to API V2 wsdl result

I added the Dhl Account module in my magento 1.9.2.4 installation to get the possibility to ship to a dhl packing station. The module appends a field called dhlaccount to the shipping address of an ...
Dominik Barann's user avatar
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 ...
Jackson's user avatar
  • 9,909
2 votes
1 answer
614 views

Overriding Magento 1.9 interface

I've just started writing Magento 1.9 plugins and I started with a basic example of writing a basic Shipping Method plugin that will return static rates. Here is what the structure of the model file ...
Dany Khalife's user avatar
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 "...
stsnow's user avatar
  • 219
2 votes
0 answers
925 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.
Ajay's user avatar
  • 919

1
2 3 4 5