User delivery & billing address in customer profile section

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Aswathy.S
Posts: 4
Joined: 24 Mar 2017, 13:48

User delivery & billing address in customer profile section

Post by Aswathy.S » 24 Mar 2017, 13:54

How to show the customer's billing address and delivery address in customer profile plug-in.Is it possible? Now it is shows in checkout page.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: User delivery & billing address in customer profile sect

Post by aimeos » 24 Mar 2017, 15:44

They are not shown by default but you can use the "account/profile" HTML client to display that information. If you would like to show the data only, you can add the code to display it in the account/profile/body-default.php template:
https://github.com/aimeos/ai-client-htm ... efault.php

The customer item and the address items are available as "profileCustomerItem" and "profileAddressItems" as you can see here: https://github.com/aimeos/ai-client-htm ... d.php#L358

In case customers should also be able to modify their data, the best thing would be to create two new subparts for this component ("Payment" for the customer payment data, "Delivery" for the delivery addresses). How to create new subparts is described there:
https://aimeos.org/docs/Developers/Html ... w_subparts
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: User delivery & billing address in customer profile sect

Post by aimeos » 24 Mar 2017, 20:34

BTW: We would love to get this into the Aimeos core if you share your code :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply