We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [address]

For questions about the use of shipping/billing addresses in Magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
154 views

I can't grab region or region_id in Admin Controller - Magento 1.7

I grab the customer through their email in a backend controller: $baseCustomer = $customerModel->loadByEmail($creationEmail); Then I grab $customer['default_billing'] to get the ID of the billing ...
0
votes
1answer
120 views

Fraud: Is there any way to block a specific postal code (address)?

we've been receiving quite a lot of fraudulent transactions and they're all being delivered to the same address, I was wondering if there was any way I could block customers from using a specific post ...
0
votes
1answer
1k views

Want to edit Default Billing and Default shipping address individually

Right now if I edit only default billing address then automatically update default shipping address. Can anyone have any code idea to customize this?
3
votes
1answer
716 views

Remove region from address information in checkout

How can I remove the region (code is <!-- ko text: address().region -->) from the address field, if customer is logged in (see screenshot). I have already removed {region} from the customer ...
3
votes
1answer
648 views

How to create custom address renderer

How to create custom address renderer with the following template in one line {{var street}}, {{var city}}, {{var region}} {{var postcode}}, {{var country}} I can't change the native address ...
0
votes
1answer
516 views

Magento 2 : Remove “Add new Address” Button in 2nd Step of Checkout Process for Customer Group

I created one customer group. How to disable(remove) "Add new Address" button in checkout process for customers who belonging to this group?
3
votes
1answer
2k views

Magento 2: re-arrange checkout address fields

I want to change the order of the billing address inputs in checkout, so that the postcode field will be ordered before the city field. I've tried to set the orders in /view/frontend/layout/...
1
vote
2answers
5k views

Magento 1.9 - how to create an new observer on the event “customer_register_success” from the top

I'm quite newbie in magento. I'm trying to create observer on the event "customer_register_success". I follow the tutorial about how to compose the files in local module. But it didn't work. When ...
1
vote
0answers
286 views

Magento 2 : Reformat Shipping Address in Review & Payments Section

I create custom attribute for shipping address, after finishing checkout I can see custom attribute below telephone number. I want to change address format to my preference. below is the example of ...
0
votes
1answer
1k views

on checkout page, no shipping address field appearing

I only see the field to put email address, payment options. I tried switching to other themes (Luma and Blank), but the checkout page was the same. Are some settings missing?
9
votes
1answer
7k views

Magento2 - Change standard address format on Magento Frontend

I want to change Magento's standard address format to the one we use in the Netherlands. For those who don't know the address format, it is the method in which we write the address. For example, the ...
1
vote
1answer
398 views

Region/Country portion of address not displaying in some browsers

On a mostly fresh installation on Magento 2.1.3, when a user fills out their shipping address in the checkout flow, <!-- ko text: address().region -- does not display a State. In Chrome 55 the ...
0
votes
0answers
64 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 ...
0
votes
1answer
112 views

Disable COD for other countries [duplicate]

I want to disable Cash on delivery(COD) for all the other countries other than one. for example, if I select India in the address field the COD should be enabled and if I select any other country it ...
2
votes
0answers
737 views

Magento 2: Update Cart “Invalid Address Id”

When i try to update card from my account. It says below error message. https://github.com/magento/magento2/issues/7570 Due to that my DHL International Shipping is not showing Shipping rates.
2
votes
0answers
422 views

How to automatically google map on fill address then checkout street address ,city ,state, and zip code fiil in may form for magento2

Hiii For magento2, We want to google map on fill address then checkout street address ,city ,state, and zip code fiil in field form for magento2
5
votes
10answers
16k views

Magento 2: An error occurred on the server. Please try to place the order again

When user want to checkout sometimes i got below message. After correction of Billing & Shipping Address Sometimes user able to place order some times not. Due to this customer not able to order....
3
votes
3answers
9k views

Magento 2 : Fatal error: Uncaught Error: Call to a member function dispatch() | Store Information

I'm trying to get store information which are set in backend like email,contact,address etc...(I've taken reference from here : https://magento.stackexchange.com/a/125359/39607 ) To do so I've ...
1
vote
0answers
217 views

Magento 2 update default customer address data programmatically [duplicate]

I want to update customer default billing address and I tried following code: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $address = $objectManager->get('\Magento\...
4
votes
2answers
6k views

Magento 2.1.2, Remove “region” from the Address

I would like to remove "Region" from all the address forms (checkout, billing address, shipping address, customer's addressbook). I've set the Backend setting for "Allow to Choose State if It is ...
0
votes
0answers
15 views

Unable to find Address views/.phtml files even with Template Path Hints

I need to be able to change this view (only very slightly to show the address ID) The problem is, even with Admin Template Hints on I can't figure out where the relvant files are stored? Looking ...
0
votes
1answer
1k views

Magento 2 How to add onKeyUp to a text field in customer checkout address form?

I want to add a auto complete function to the customer checkout address form, but I found that the address fields are rendered by knockout js, I can't add the "onKeyUp" attribute directly. How can I ...
0
votes
1answer
74 views

Change billing information order Company name to be first

I want to get the company name up to the first place (see image) for the delivery address at the email that comes after buying something. Do anyone of you guys know where I can find the file for this? ...
1
vote
3answers
1k views

How to edit an address from the address book of the customer using the address id?

I have to edit the address of the customer programmatically using the address id. Here I have customer id and address id of the address to be edited. I tried the following code. But it is not working. ...
2
votes
0answers
909 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.
0
votes
2answers
40 views

Change translate

I made several changes on the page /customer/address/ In the list name name company address 1 address 2 city contry phone: 0541 Fax: 00000000009999 VAT: codfiscal332 I used the fields F and VAT ...
0
votes
1answer
130 views

paypal addresses

I have a problem where we are using Magento, IWD onepagecheckout and PayPal Express. The problem is it seems to send the shipping address rather than the default address when going through to Paypal. ...
0
votes
1answer
79 views

Formatting postcodes / zip codes

When a customer adds a postcode / zip code I would like to complete some PHP formatting. From what I can see there are 3 places were a customer can add an address with a postcode Signup My Account ...
0
votes
1answer
63 views

Customer resource address collection override

We have a custom Customer Address Attribute that contains email of an existing user in the system. If this field is populated for a customer’s address, then this address appears on the list of ...
1
vote
1answer
938 views

Is there a way to edit the pre stored address in the Onepage checkout page?

My issues, After launching the website I have made some of the street lines mandatory, which was not initially. So some of the customers already have address stored without the new mandatory street ...
4
votes
1answer
134 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::...
6
votes
4answers
7k views

Magento: How to remove certain States from state/region list at Checkout or registration?

The list of regions for USA contains: Alaska, Hawaii, American Samoa, Guam, Marshall Islands, Micronesia and Armed American and so on. This is the list that is available both during registration and ...
0
votes
2answers
1k views

Remove last name in billing address?

I am using Magento1.9 I followed below mention step after that i got error message UPDATE eav_attribute SET is_required = 0 WHERE attribute_code = 'lastname' /app/code/local/Mage/customer/Model/...
4
votes
1answer
2k views

Why on checkout page shipping and billing address are reset after page refresh?

We have the following situation in Magento: Guest customer is about place order. The customer filled his billing and shipping addresses on checkout page. The customer reached one of the following ...
1
vote
1answer
998 views

Magento - Can't change customer address in admin

I have Magento 1.8.1 CE and cannot change the customer address anymore. I do not know what has changed, I have not done this for a while. When I go to the customer screen in admin I get this error on ...
3
votes
1answer
580 views

Magento Customer address missing when creating new order + new customer from backend [closed]

Running on Magento 1.8 Steps to reproduce: Create Order > Create New Customer Add product Fill in every mandatory field including address Create Order After Order is created, go to Manage Customer....
0
votes
1answer
80 views

Magento 1.9 CE State Region confusion

My payment gateway (Ecorepay) requires customer address to include state/province. It works when I pass the region_id (for countries where I have a drop down list) my question is where is the region ...
2
votes
2answers
694 views

assign guest customer address to register customer

Scenario: A user placed an order as guest, next time when he placing an order he is registering as customer. I managed to manually assign his old orders to new registered account based on his email ...
1
vote
2answers
2k views

save customer account field whenever address object saved

The following observer calling properly.I'm getting address ,customer object also . but customer setting data not working(3rd line).even i tried save function on that.but it is also not working. ...
4
votes
2answers
2k views

How to import customers with more than 2 address?

I use a csv file to import customers into Magento. This is the csv file header : website, email, group_id, group, firstname, lastname, password_hash, billing_firstname, billing_lastname, ...
10
votes
1answer
27k views

Get Customer Address

I have customer id . Using customer id i want customer address. so how to get customer address and using country id how to get full name of country
0
votes
1answer
255 views

E-mail admin when customer changes address on frontend

Is it possible to create an e-mail function to send the store administrator an e-mail when a customer changes his/her address on the My Account page? How can i accomplish this, where and how should i ...
1
vote
1answer
1k views

Edit Customer Address Form's Name Fields

I am editing the layout of my edit.phtml in template/customer/address/, i have edited the layout and labels of some fields there, no problem. Except, i have 3 fields in the code which i can't edit ...
1
vote
2answers
988 views

Get company name when adding new address

I am trying to fill in the field: Company, when adding a new address, retrieving the company name from the current address. I am editing: /www.vadotex.biz/web/app/design/frontend/vadotex/default/...
0
votes
2answers
2k views

Magento customers add new address and edit address problem

I have added 1 more page to add and edit address (custom address) of Magento. but adding a new address ( my custom address) is working but edit address it not working. here is my code <...
1
vote
2answers
2k views

How to delete empty select option value in magento

In the checkout process of magento, customers are allowed to select countries. In administration in magento administrator is allowed to restricted shipping only to selected or one country, in my case ...
2
votes
1answer
1k views

Is it possible to move customer Telephone number from billing address fields to customer create account section

Is it possible to move Telephone fields from billing address to the customer create account section? I need to modify account creation page by directly making changes on core files. Is that possible ? ...
1
vote
1answer
833 views

Magento 1.7.0.2 Customer Address Please enter first name please enter last name

I'm creating a website for a client, and I ordered a template with demo data from someone in America. But in the website there is an error. When I logged in in the site as customer and I'm editing my ...
0
votes
1answer
212 views

showing 2 custom attributes in 1 column in customers grid

I am working on Magento system. In admin, customer has more than one address and I have street column in the grid which displays default billing street. But I want to search street name through all ...
8
votes
1answer
6k views

Difference Between Sales Quote and Sales Quote Address

I am looking which collect_totals observer I can use. There are two observers, sales_quote_collect_totals_before and sales_quote_address_collect_totals_before. They can be found in /app/code/core/...