Questions tagged [customer-address-attribute]

Denotes questions related to Customer Address Attribute

Filter by
Sorted by
Tagged with
2 votes
1 answer
56 views

how to make country dropdown with search box in magento 2

How can i add search input on country drop dawn field in magento i need to add the search input like show in below screenshoot
Jay Parmar's user avatar
0 votes
1 answer
111 views

magento 2 How to store Customer Address custom attribute value quote_address table column

I have created customer address type custom attribute and it's value store as custom attribute now I want to store this value on quote address column. I have create observer ...
Keval Chauhan's user avatar
0 votes
0 answers
71 views

Magento 2 How to create Custom Field on Customer Address form and save it's value

I want to create custom field on Customer address form as per below screenshot currently I create field but did not save it's value. I have create field using three point: Create Customer_address ...
Keval Chauhan's user avatar
1 vote
1 answer
86 views

Custom Customer Address field not passing validation

I've added a custom field to the Customer Addresses with the following UpgradeData: public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /** @var ...
dotancohen's user avatar
  • 1,115
0 votes
1 answer
46 views

How to create a custom address attribute for customer and show that in edit address in admin?

I want to create a custom customer address attribute called customer_custom_id in the below address.( check the below image.). how can I do that?
Mohmad Ashik M A's user avatar
0 votes
1 answer
230 views

how to copy custom attribute values from quote_address to sales_order_address table

i am using some custom attributes in customer address section.The attribute values are getting in quote_address table but not getting that in sale_order_address table. The file i used to do that field....
Benit's user avatar
  • 23
1 vote
1 answer
44 views

I'm trying to define a new customer address attribute that will be available in all the customer address forms (backend, frontend, checkout)

So far I have managed to save the value in quote_address and sales_order_address when placing the order how can I save the value in the customer_address_entity_varchar table. when customer address ...
Meet's user avatar
  • 13
0 votes
0 answers
97 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 ...
lalit mohan's user avatar
  • 1,065
0 votes
1 answer
650 views

how to save customer address attribute after order success event in Magengto 2?

I have added a new shipping address (without saving it in the address book) on the checkout page to place an order. I want to update the existing default shipping address value (zone attribute only) ...
Vinod Kumar's user avatar
  • 2,045
0 votes
1 answer
412 views

How to change the sort order of the customer address attributes?

As title. Here is the current sorting of customer address attributes using the following SQL statement: select ea.attribute_code, eaa.sort_order from eav_entity_attribute as eaa left join ...
PY Yick's user avatar
  • 2,705
1 vote
2 answers
2k views

Magento 2.4 Custom Field in Shipping Address Not Saving in database

I am trying to add a custom field in shipping information however the field is not stored in address_quote table where I have created the column. Can someone guide me through? di.xml <?xml version=&...
Dexter's user avatar
  • 3,613
1 vote
0 answers
240 views

custom attribute in customer address grid

I am trying to add a column in the customer address grid in admin with a custom attribute. <column name="addresstypes" class="xxx\AddressAttribute\Ui\Component\Listing\Address\...
sam's user avatar
  • 489
0 votes
1 answer
694 views

Customer Address attribute added in grid in magento 2

I have added one customer address custom attribute. it is showing in the customer address form as a dropdown field. Now I want to show that as a column in customer address grid in admin with value. I ...
sam's user avatar
  • 489
3 votes
1 answer
1k 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 ...
Shoaib Munir's user avatar
  • 9,394
0 votes
2 answers
197 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. ...
Gonzalo Gutiérrez's user avatar
1 vote
1 answer
2k views

Magento 2 - Fetch Customer Address Attribute

I need to fetch the value of customer address attribute just like we have product attribute I am using Magento\Customer\Api\AddressRepositoryInterface and created the instance from it $...
Muhammad Hasham's user avatar