how to create address
-
i want to create give user option to create new address but not sure which function should be called after getting user data from a custom form?
can you please guide how i can store address for this and how to update etc?
eg$shipping3_data = array( 'shipping3_address_nickname' => 'Nickname for Billing 3', 'shipping3_first_name' => 'John', 'shipping3_last_name' => 'Doe', 'shipping3_company' => 'Company Name', 'shipping3_country' => 'US', 'shipping3_address_1' => '123 Elm Street', 'shipping3_address_2' => 'Suite 456', 'shipping3_city' => 'Springfield', 'shipping3_state' => 'IL', 'shipping3_postcode' => '12345', 'shipping3_phone' => '555-555-5555', 'shipping3_email' => '[email protected]',
);
want to store this data as shipping3 how can i do. i want to able user submits address bu a custom form ajax based.
- The topic ‘how to create address’ is closed to new replies.