Questions tagged [address-attribute]
The address-attribute tag has no usage guidance, but it has a tag wiki.
25
questions
0
votes
0
answers
49
views
Custom attribute shipping address update to null after invoice or shipment
I have a plugin with multiple functionalities and one of them is to add a custom attribute on address and on checkout I am updating the attribute value via AJAX with on click javascript. The value is ...
0
votes
0
answers
42
views
How to mange customer custom address attribute based on website in order detail page customer address edit?
FOR: Magento 2.3.3 enterprise edition.
How can I use the Customer custom attribute in adminhtml customer address?
Scenario: we have two websites having different customer custom address attributes e.g ...
1
vote
1
answer
320
views
Address Attribute not set to Address template in Magento 2
I need to update default address layout which used in order, invoice and emails.
So that I change the layout in
store->configuration->customer->customer configuration->address template.
I ...
0
votes
1
answer
51
views
Custom address attribute is causing error in admin customer address section
I am adding two custom address attribute as mobile and country_code.
InstallData.php as below,
<?php
namespace Ocra\CustomerMobile\Setup;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\...
2
votes
1
answer
894
views
Magento 2 - Customer address custom attribute option label from value
I am using Magento 2.2.8 Enterprise Edition
I have a custom address attribute area a dropdown attribute with multiple options.
Now when I am getting value of attribute by using this code, I am getting ...
0
votes
1
answer
142
views
How to remove the visibility for customer address attribute field while creating order in magento backend
I wish to delete customer address attribute in create order section in Magento backend
I have tried to override the following file to unset the attribute before rendering. For testing purpose, I ...
0
votes
2
answers
127
views
Get Dropdown Value from a Custom Customer Address Attribute
I'm trying to get the frontend label of my custom address attribute and trying this:$address->getCustomAttribute("custom_attribute")->getValue(), gives me the value "95905" instead of the label.
...
3
votes
1
answer
3k
views
Save customer custom address attribute programmatically
I have created new address attribute hide_address with yes no value. Using setup script:
if(version_compare($context->getVersion(), '1.0.2', '<')) {
$objectManager = \Magento\...
8
votes
4
answers
4k
views
Add Custom Validation Street Address Field in backend Magento 2
I Want To Set Minimum Length Value For Street Address Field On Admin Side
I want to set min_text_length = 5 For Street Address Field In Customer Address Form
I am Trying To Update Attribute but ...
1
vote
0
answers
78
views
New Customer address attribute not saving on Frontend
I have created a new customer address attribute, it shows the field correctly on the frontend BUT it doesn't allow you to save the data.
It does work correctly when saving through admin, and then ...
1
vote
1
answer
296
views
How to get custom address attributes in Magento 2
I am trying to display all custom address (Added programmatically) attributes on address add/edit page in My Account section.
I have looked into below interface
module-customer/Model/Address/...
-2
votes
2
answers
354
views
Set value to customer custom address attribute in magento2
I have created a multi-select attribute(attribute_code is address_purpose) for the customer using UpgradeData
The options are created and the values are getting stored if I edit in magento admin.
...
1
vote
1
answer
4k
views
Multiselect attribute not saving in Magento 2.3.0
I have created the multi-select attribute for customer address using below code.
Setup/UpgradeData.php
$customerEntity = $customerSetup->getEavConfig()->getEntityType('customer_address'...
0
votes
1
answer
1k
views
Magento 2 : How to change state list for USA? [duplicate]
How can I change/remove some states from Shopping Cart and Checkout page?
For example. I need to remove:
American Samoa;
Virgin Islands;
Armed Forces Africa (Americas, Canada, Europe, Middle East, ...
0
votes
0
answers
357
views
Not showing order tab at customer details page in admin panel
Few tab like (Orders, Product Reviews, Billing Agreements, Newsletter, Wish List, etc...) are not showing in customer details page in admin panel after magento2 upgrade.
All above tab's are showing ...
1
vote
0
answers
40
views
M2 : After magento upgrade not able to save "state" form address edit page
I have upgrade magento version after that i'm not able to save state (region), from both admin and frontend side into address edit section.
I have check customer's attributes and address attributes ...
0
votes
1
answer
1k
views
How to add Customer custom attributes and address custom attributes
I had many issues trying to add new customer account and address fields.
Sometimes it wasn't showing up on the customer adminhtml form and on other times won't save the value.
3
votes
1
answer
422
views
How to check if phone number already exist?
Is there a way to validate a phone number has already been used by customer programmatically?
1
vote
1
answer
442
views
How does one persist a extension attribute in the Order addresses?
I created a extension attribute for my customer addresses using this tutorial.
How can I copy them to the order addresses when I finish the checkout and display them in the order?
1
vote
2
answers
1k
views
How to fully load customers when returned in a customer collection?
First, my sincere apologies if this is duplication, I've searched and nausium however all I get are results pertaining to loading a single customer (by ID, by Email etc).
My issue is that I am ...
0
votes
0
answers
201
views
Show Telephone and Company on Registration form in magento1.9 after showing get validation errors?
I want to show Telephone and Company field on my Registration form, that is already achieved.
For that I just put the fields out from this condition:
<?php if($this->getShowAddressFields()): ?&...
1
vote
0
answers
22
views
Address attribute remains populated for addresses bellow a address to whom it was assigned [closed]
An address attribute is created , let say 'test_price'. This attribute is populated from front end. In case of more than one addresses,let say have two address with entity_id 2000 and 2001 , 2000 is ...
2
votes
0
answers
1k
views
Magento2 add custom address attribute
I'm using Magento CE 2.1, deploy:mode:set was set to developer.
I have added attribute city_id for entity CUSTOMER_ADDRESS. Address was created in register form. But it wasn't able to save data for ...
1
vote
1
answer
2k
views
Magento 2 : How to add address attribute in checkout new address form?
I want to add some more field on checkout page new address form. For this I added some customer address attribute from script and assign that attribute in all form. But still its not coming in New ...
0
votes
2
answers
3k
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
<...