Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
3 answers
8k views

How to get formated order addresses

I know we can get formated customer addresses by calling, $data = $customer->getPrimaryBillingAddress()->getFormated(); Is there a similar way to get shipping address and billing address of a ...
0 votes
1 answer
1k views

Complete management of custom attribute in Customer address

I'm trying to add a custom attribute in Customer Address in Magento 2.3.1 with Wamp (PHP 7.2.25). I created a custom attribute and additional columns in quote, sales_order_address and quote_address: ...
0 votes
1 answer
19 views

SetBillingAdress not working (prog) on quote

I'm creating orders programmaticaly but my billings address are not updating. I can set the shipping address that I want (another from the connected user) but the billing is still the one from the ...
1 vote
0 answers
363 views

Magento2 Billing address issue for paypal

When I registered new customer and place order via paypal for virtual and downloadable product It will not ask me for billing and shipping address. But will display billing address in {{var telephone}...
2 votes
1 answer
58 views

Saving comments on request

In the checkout, I have a select from which the user should choose their address type (commercial or residential) and I want to save this as a comment in the request, however I do not know how I ...
1 vote
2 answers
14k views

How to get the billing address from a quote instance: Magento 2

I have a custom module in which I need to get the order details. I am using the below code to get the orders from quotes in admin end, $objectManager = \Magento\Framework\App\ObjectManager::...
2 votes
1 answer
10k views

Change shipping and billing address from order programmatically

How can i change shipping and billing adress from order programmatically? I tried this but don't work. $shippingAddress = Mage::getModel('sales/order_address') ->setFirstname("value") ->...
1 vote
2 answers
472 views

{{/depend}} on shipping and billing

there is a {{/depend}} what is the problem of this?
3 votes
1 answer
1k views

How can I add the Company Name to the Billing Address information in a new order email?

How can I add the Company Name to the Billing Address information in a new order email? I would like to see the customer name, company name (which is a required field), and the rest of the address. ...
0 votes
2 answers
101 views

Received order from a "blocked" country

since the magentocommerce board isn't available for new topics I give it a try on StackExchange. Today we received an order from a "blocked" country (not allowed via country options). Our customer ...
-1 votes
2 answers
157 views

Problem while Placing orders

When some one places an order, few other strange products are also getting added along with the selected product. And the address of the customer ends up with some wierd symbols and characters. The ...
0 votes
2 answers
2k views

Change registered customer biliing email address on the time of checkout

I am trying to implement one functionality where logged in user can able to change the billing email address on the time of checkout. I have tried to do that but all the time it updates customer ...
2 votes
1 answer
1k views

I need to override an Account email address with a Billing email address when Placing the Order

I have looked at various ways of doing this, but is there a simple way to simply capture the email address entered on the Billing Information form and overriding the Account Email address when ...
1 vote
0 answers
98 views

Displaying a selectable list in Onepage Checkout and adding the selected item to an order [closed]

All, This question is an extension to my previous post: I need to override an Account email address with a Billing email address when Placing the Order which I could not get working, or figure out ...
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, ...