Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
35 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
1 vote
0 answers
35 views

Magento 2.2.3 How to change GrandTotal

var billingAddress = quote.billingAddress(); var billingCountryId = (billingAddress.countryId); // console.log(billingCountryId); console.log({billing: ...
jibin george's user avatar
1 vote
2 answers
5k views

How to get customer billing and shipping information in magento2 .phtml files?

How to get checkout page information (firstname, lastname, address etc of customer) , I have created one phtml file and the code is below $address = $objectManager->get('\Magento\Sales\Model\Order');...
ASHWINI MURTHY's user avatar
2 votes
0 answers
829 views

How to disable billing address edit or update in Magento2 checkout page?

I don't want to allow customers edit or update their billing address in Magento2 checkout page. Even i want to disable add new address in checkout page .
Ansar Husain's user avatar
  • 3,479
1 vote
1 answer
1k views

Magento set customer address as default address in address book page itself

How can I set address as default billing address when a radio button is added in customer address book without going to edit address page. Please find the below screenshot, https://prnt.sc/ihngmf ...
Raghu's user avatar
  • 1,710
0 votes
1 answer
691 views

Updating customer address book with an additional address in Magento 1.9

I have been asked to fix a form which should add a new (non-default) billing address to a customers account. The action of the form is empty and when submitted a billing.Save() function is executed. ...
rushtoni88's user avatar
1 vote
2 answers
3k views

Get customer billing address country short code (ISO Code)

How can I get the country short code (ISO) of the billing address of a logged in customer. Can anyone help? Thanks!
Self Diagnostics's user avatar
1 vote
1 answer
819 views

How to set Currency by default Billing Address Country in Magento 1.9?

In my setup only logged in customers can see prices and order. How to set currency due to their default billing address? Thanks!
Self Diagnostics's user avatar
2 votes
3 answers
7k views

How to get list billing address and list shipping address based on customer id

Please, can someone tell me, how to get list shipping addresses and billing addresses the specific customer by customer id in Magento 1.9? Thanks.
mrfizh's user avatar
  • 1,363
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,224
1 vote
1 answer
4k views

Disable billing address edit

is there a way to prevent Billing Address modification by all users? After entering billing address in registration i don't want to let users modificate it. Thank you very much.
Mario Villani's user avatar
2 votes
1 answer
1k views

When is an address saved to the customer?

When is an address saved in the customer? I mean, is it in the checkout process when saveBilling is called? Or is in the conversion from quote to order when saveOrder is called? In this question, ...
mbalparda's user avatar
  • 7,383