Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
512 views

Magento 2: Add custom OrderAddress field in GraphQL

I have a requirement where I want to add a custom field in the OrderAddress query of GraphQL. Anyone who have done this can help.
Gaurav Agrawal's user avatar
0 votes
2 answers
298 views

Can you recommend a good extension we can use for Magento 2 to auto complete address during checkout?

I'm looking for an extension that we could use in our store to autocomplete the address during checkout so there will be less mistakes when customer's enter their address? I've tried to research some ...
magelanche's user avatar
2 votes
1 answer
521 views

Magento 2 call customer/address/new/ form in popup

I am looking for solution to add new address form in my custom module phtml file.This form will save with ajax. I have no idea about it.Please help me.
akgola's user avatar
  • 2,967
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
37 views

Is there anyway to check shipping address country matches with billing address?

I have created an account and added a billing address in my account section. After selecting products, I get to the first /checkout page. I want to do a check does billing address country matches with ...
jibin george's user avatar
2 votes
0 answers
308 views

New Checkout Billing Address Form Field not saving value to the database

I have added a new checkout billing address form field for entry of an optional field for the customer. Have overridden the template checkout form and able to get the field onto the form, but cannot ...
Rodders's user avatar
  • 81
4 votes
1 answer
13k views

Programatically load default billing and shipping address

Magento 2 programatically load default billing and shipping address..
srg's user avatar
  • 465
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
7 votes
2 answers
35k views

Magento 2 Get shipping and billing address of customer after order placed?

I am working on custom email template. So I needed customer Billing and Shipping address in below file. /vendor/magento/module-sales/view/frontend/templates/email/items.phtml Can any 1 help me to ...
Nitesh Kuyate's user avatar
0 votes
1 answer
1k views

How to save customer in database after billing info step on onepage checkout?

I would like to save customer in database, when someone filled billing information and hit the 'continue' button. Does anyone know how to do it? I am using magento 1.9.2 and i tried with event "...
Utsav IIHGlobal's user avatar
0 votes
0 answers
73 views

Magento 2 : How to Add address attribute in billing address form and convert that value in order address [duplicate]

I want to create address attribute and convert that attribute to order address. I want to add address attribute in billing and shipping address of customer. Also want to display this attribute ...
Ashish Jagnani's user avatar
3 votes
1 answer
3k views

Magento 2: How to Set Max Length on Billing Address at Checkout Page?

I have achieved for Shipping Address Magento 2: How to set Max Length for Street Address? Struggling with Billing Address on domain.com/checkout/#payment My Payment Method is Bank Transfer. I have ...
Jackson's user avatar
  • 9,969
1 vote
2 answers
723 views

Convert Order Address into customer Address

Under a sales_order_place_after event Observer, I try I save a guest customer and I try to save the order Adresses into the guest customer Adresses: I get the the Billing and Shipping Adresses like ...
Bizboss's user avatar
  • 597
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
2 votes
1 answer
645 views

Wrong Shipping and billing Addresses

I am trying to fetch customer addresses on a custom page using below code. $shipId = 'VALID SHIPPING ADDRESS ID'; $billId = 'VALID BILLING ADDRESS ID'; $addressObject = Mage::getModel('customer/...
Anshu Mishra's user avatar
  • 9,010
0 votes
0 answers
185 views

Allow multiple billing and shipping addresses only for backend

We currently use only 1 country for the billing and shipping addresses. I want to add some other countries to apply, when adding an order trough the backend. But that should only be possible in the ...
JGeer's user avatar
  • 1,422
2 votes
2 answers
10k views

Get primary billing / shipping address of customer model

I got a customer model and want to get the primary billing / shipping address. I tried it like this: $customerObj->getPrimaryBillingAddress(); $customerObj->getDefaultBillingAddress(); $...
SimonSolutions's user avatar
2 votes
2 answers
2k views

How to update customer telephone if customer doesn't have in the billing address?

I want to update the customer telephone number if the customer doesn't have. In our website we disabled the telephone mandatory in adding address field. We recently implement a payment gateway that ...
Mujahidh's user avatar
  • 2,823
1 vote
1 answer
991 views

Allowing the customer to delete their address within the checkout

I have a store which has a slightly modified checkout. I can't find the exact link right now on the original example, but I ditched the address drop-down and added an address grid where it lists the ...
Thomas Harding's user avatar
4 votes
1 answer
178 views

find the root to not handling new lines \n \n\n in addresses

I have been searching for a bit on why I'm getting \n in addresses. I have been searching in the templates, adding lines like <?php echo str_replace('\\n',' ', $this->getAddressHtml(Mage::...
Quantum's user avatar
  • 553
1 vote
2 answers
13k views

How can I create and retrieve default billing address programatically?

Our site imports customers from external data sources. Part of this import is creating a default billing address from external data if none exists. I have followed advice from other questions, as ...
Jon Surrell's user avatar
2 votes
1 answer
852 views

Check if it is new address on Payment method step

Is there any way to check via PHP, whether user selected new address in billing step? Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getCustomerAddressId(); ...
SOlearner's user avatar
  • 103
0 votes
1 answer
135 views

Custom field for new order new customer [duplicate]

I want to add 'Business name' field to billing and shipping address form in creating new customer while creating new order from admin. How can I do that?
user9748's user avatar