Questions tagged [customer-address-attribute]

Denotes questions related to Customer Address Attribute

Filter by
Sorted by
Tagged with
1 vote
1 answer
62 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,105
0 votes
0 answers
117 views

How to show custom address attribute in checkout shipping-address?

I have created a custom attribute for customer addresses. and I want to show it in the checkout shipping address form.
Mohmad Ashik M A's user avatar
0 votes
1 answer
40 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
140 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
32 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
83 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,063
0 votes
1 answer
408 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,035
0 votes
1 answer
282 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,695
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,573
1 vote
0 answers
203 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
  • 479
0 votes
1 answer
586 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
  • 479
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,199
0 votes
2 answers
168 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