Search found 208 matches
- 19 Oct 2023, 11:49
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34198
Re: Aimeos Autofill plugin conflict with jsonapi service update
There is another problem. Now the notifications get called multiple times for the same service. 'addService.after' and 'addService.before' get called twice when the service is updated. The first time notification occurs, is when the service is added with its default values by the AutoFill plugin. Th...
- 06 Oct 2023, 08:26
- Forum: Laravel package
- Topic: Rebate is added as a product in the basket
- Replies: 2
- Views: 11206
Re: Rebate is added as a product in the basket
I have a clean installation on local. I added a rebate to it the same way. I printed it in the standard basket with dump( $this->standardBasket ) . When there is a rebate added to the order, the rebate is not added to the basket as a product in the local installation. The local installation has aime...
- 05 Oct 2023, 15:16
- Forum: Laravel package
- Topic: Rebate is added as a product in the basket
- Replies: 2
- Views: 11206
Rebate is added as a product in the basket
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, My rebate is getting added as a product when adding it in the basket. It gets added to the "products" array of the order item. $this->standardBasket->getProducts() retrieves bo...
- 27 Sep 2023, 09:06
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34198
Re: Aimeos Autofill plugin conflict with jsonapi service update
Yes, that seems to work. https://aimeos.org/docs/2023.x/config/client-jsonapi/basket/#name_4 'client' => [ 'jsonapi' => [ 'basket' => [ 'service' => [ 'name' => 'StandardCustom', ] ] ], ], <?php namespace Aimeos\Client\JsonApi\Basket\Service; use Psr\Http\Message\ServerRequestInterface; use Psr\Http...
- 26 Sep 2023, 21:20
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34198
Re: Aimeos Autofill plugin conflict with jsonapi service update
I can't update from 2023.04.*, because it breaks changes I've done in the backend. You've been changing the backend structure to add Vue JS support. It will take some time before I understand how you've changed the backend before I can update it and implement my changes, and I'm working on other thi...
- 25 Sep 2023, 12:18
- Forum: Laravel package
- Topic: How do I get the service attributes in the addService.before event in the basket plugin?
- Replies: 1
- Views: 18557
Re: How do I get the service attributes in the addService.before event in the basket plugin?
Hello, I got the service attributes.
They were missing, because they weren't being passed in the parameters when updating the service.
They were missing, because they weren't being passed in the parameters when updating the service.
- 25 Sep 2023, 10:13
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34198
Aimeos Autofill plugin conflict with jsonapi service update
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, There is a conflict between the built-in autofill plugin and the jsonapi. If a service is updated (changed) through the jsonapi, the autofill plugin prevents the service from being chang...
- 21 Sep 2023, 10:54
- Forum: Laravel package
- Topic: How do I get the service attributes in the addService.before event in the basket plugin?
- Replies: 1
- Views: 18557
How do I get the service attributes in the addService.before event in the basket plugin?
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux I'm trying to get the service attributes when updating a service through jsonapi, but the attributes are not available in the service item here. /** * Register plugin at publisher object */ pub...
- 20 Sep 2023, 12:03
- Forum: Laravel package
- Topic: Keep basket even when user logs out and logs back in?
- Replies: 4
- Views: 20354
Re: Keep basket even when user logs out and logs back in?
What is the relation between the mshop_order_basket table and the basket stored in the session?
Can the session with the basket just be restored when the user logs back in?
I really don't know how I should go about this.
Can you give a more detailed response?
Thanks.
Can the session with the basket just be restored when the user logs back in?
I really don't know how I should go about this.
Can you give a more detailed response?
Thanks.
- 19 Sep 2023, 08:22
- Forum: Laravel package
- Topic: Keep basket even when user logs out and logs back in?
- Replies: 4
- Views: 20354
Re: Keep basket even when user logs out and logs back in?
Clarification:
1) The basket should be lost, but stored in the user's account when he user logs out.
2) The basket should be loaded when the user logs back in.
1) The basket should be lost, but stored in the user's account when he user logs out.
2) The basket should be loaded when the user logs back in.