Can I assign an address from the "users_address"

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ahmed31916
Advanced
Posts: 148
Joined: 14 Apr 2022, 12:15

Can I assign an address from the "users_address"

Post by ahmed31916 » 24 Aug 2022, 17:46

Hello,

Can I assign an address from the "users_address" table, to "ca_billingoption" parameter in the checkout address step number two? how?

I tried to put id from the "users_address" table, but finally he took the user default address from the "users" table.

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

Re: Can I assign an address from the "users_address"

Post by aimeos » 26 Aug 2022, 10:02

No, the delivery addresses in users_address can only be used as delivery addresses in the checkout.
You have to adapt this class to enable using delivery addresses as billing address:
https://github.com/aimeos/ai-client-htm ... andard.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply