User delivery & billing address in customer profile section
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User delivery & billing address in customer profile section
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.
Re: User delivery & billing address in customer profile sect
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
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, give us a star
If you like Aimeos, give us a star
Re: User delivery & billing address in customer profile sect
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, give us a star
If you like Aimeos, give us a star