Can't use existing delivery address
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Can't use existing delivery address
All outstanding 2019.10 fixes have been tagged now (including aimeos/aimeos-core: 2019.10.6).
Please remove the "x-dev" versions again and test if everything works now (delivery address and saving customer in JQAdm without modified flag if not changed).
Please remove the "x-dev" versions again and test if everything works now (delivery address and saving customer in JQAdm without modified flag if not changed).
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
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Can't use existing delivery address
isModified method seems working perfect, I checked for customer exactly. But there is problems with delivery address:
1. It always duplicates existing delivery address after checkout. I mean it creates one more the same address.
2. When I select existing address, click next, then click back - no delivery address is selected.
These problems come because of addressid filed, it is not filled in Address fromArray and toArray methods. For now I fixed it for myself by extending Address and filling addressid.
My composer:
My packages verisons:
1. It always duplicates existing delivery address after checkout. I mean it creates one more the same address.
2. When I select existing address, click next, then click back - no delivery address is selected.
These problems come because of addressid filed, it is not filled in Address fromArray and toArray methods. For now I fixed it for myself by extending Address and filling addressid.
My composer:
Code: Select all
"aimeos/ai-admin-jqadm": "2019.10.x",
"aimeos/ai-payments": "^2019.07",
"aimeos/aimeos-core": "2019.10.x",
"aimeos/aimeos-laravel": "2019.10.x",
Code: Select all
aimeos/ai-admin-jqadm 2019.10.6 Aimeos ai-admin-jqadm extension
aimeos/ai-admin-jsonadm 2019.10.2 Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html 2019.10.9 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi 2019.10.2 Aimeos JSON API extension
aimeos/ai-controller-frontend 2019.10.3 Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs 2019.10.4 Aimeos ai-controller-jobs extension
aimeos/ai-gettext 2019.10.1 Aimeos Gettext extension
aimeos/ai-laravel 2019.10.2 Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-payments 2019.10.1 Payment extension for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer 2019.10.1 SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core 2019.10.6 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel 2019.10.1 Professional, full-featured and high performance Laravel e-commerce package for online shops and complex B2B projects
Re: Can't use existing delivery address
Thanks, we made "order.base.address.addressid" public in fromArray()/toArray() too now. Also, we've done one change in the HTML client to store that property in a better way.
Can you try again?
Can you try again?
Code: Select all
composer req aimeos/aimeos-core:2019.10.x-dev aimeos/ai-client-html:2019.10.x-dev
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
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Can't use existing delivery address
Ok, thanks, I will try!
HTML client: - which files have you changed ? did you change templates ? Because then I need modify my extension
HTML client: - which files have you changed ? did you change templates ? Because then I need modify my extension
Re: Can't use existing delivery address
No, the checkout address delivery class only.
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
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Can't use existing delivery address
Yes it works. Only one thing I noticed: if customer doesn't have existing delivery address there two options available like billing and create new, but no one selected by default. As I remember before like billing option was selected in this case by default.
Thank you so much !
Thank you so much !
Re: Can't use existing delivery address
Initially, "like billing address" is still selected for both, logged in and guest users.
Do you already have data in your session?
Do you already have data in your session?
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
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Can't use existing delivery address
Nice! Now seems everything is fine) I hope))
So should I use dev versions ?
So should I use dev versions ?
Code: Select all
"aimeos/ai-client-html": "2019.10.x-dev",
"aimeos/aimeos-core": "2019.10.x-dev",
Re: Can't use existing delivery address
aimeos/aimeos-core has been tagged now (2019.10.7) to fix the problem.
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
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Can't use existing delivery address
So I can use "aimeos/aimeos-core": "2019.10.7" ?
but what is for "aimeos/ai-client-html": "2019.10.x-dev" ?
but what is for "aimeos/ai-client-html": "2019.10.x-dev" ?