Search found 211 matches
- 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: 18577
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: 20376
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: 20376
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.
- 19 Sep 2023, 08:15
- Forum: Laravel package
- Topic: Keep basket even when user logs out and logs back in?
- Replies: 4
- Views: 20376
Keep basket even when user logs out and logs back in?
Laravel framework version: 10.16.1
Aimeos Laravel version: 2023.04.*
PHP Version: 8.2.8
Environment: Linux
Hello,
Is it possible to store the basket even after the user logged out and logged back in?
How can I do it?
Thanks
Aimeos Laravel version: 2023.04.*
PHP Version: 8.2.8
Environment: Linux
Hello,
Is it possible to store the basket even after the user logged out and logged back in?
How can I do it?
Thanks
- 15 Sep 2023, 08:33
- Forum: Laravel package
- Topic: Error when addService.before is attached
- Replies: 4
- Views: 13746
Re: Error when addService.before is attached
This documentation needs more updating: https://aimeos.org/docs/2023.x/providers/basket-plugins/#create-plugin Please look at the notification names here: Aimeos\MShop\Order\Item\Base Some notifications specified in the documentation do not exist, or are wrong. For example "setService.before&qu...
- 15 Sep 2023, 08:21
- Forum: Laravel package
- Topic: Error when addService.before is attached
- Replies: 4
- Views: 13746
Re: Error when addService.before is attached
I've checked all of the services in the admin, they all have a price set. I solved it, but I think that the documentation needs improvement, it doesn't specify this. This is the line that causes the error. $service = $this->notify( 'addService.before', $service ); The update() method of the plugin m...
- 14 Sep 2023, 13:37
- Forum: Laravel package
- Topic: Error when addService.before is attached
- Replies: 4
- Views: 13746
Error when addService.before is attached
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, I get the following exception when adding a service using the jsonapi: exception: Error file: /var/www/vhosts/<domain>/httpdocs/vendor/aimeos/aimeos-core/src/MShop/Order/Item/Base.php li...
- 08 Sep 2023, 11:51
- Forum: Laravel package
- Topic: Documentation needs update
- Replies: 1
- Views: 9459
Documentation needs update
Hello,
You need to update the classpaths here:
https://aimeos.org/docs/latest/provider ... t-plugins/
The order Order\Base classes have been combined with the Order classes.
You need to update the classpaths here:
https://aimeos.org/docs/latest/provider ... t-plugins/
The order Order\Base classes have been combined with the Order classes.
- 30 Aug 2023, 13:12
- Forum: Laravel package
- Topic: Product list item is not saving nor deleting
- Replies: 2
- Views: 19391
Re: Product list item is not saving nor deleting
I did some digging and I found the following.
Apart from the $product_manager transaction, I also begin a $stock_manager transaction:
$stock_manager->begin();
It seems like both transactions need to be finished for the product to be saved.
Is this behavior intended?
Apart from the $product_manager transaction, I also begin a $stock_manager transaction:
$stock_manager->begin();
It seems like both transactions need to be finished for the product to be saved.
Is this behavior intended?
- 30 Aug 2023, 02:01
- Forum: Laravel package
- Topic: Product list item is not saving nor deleting
- Replies: 2
- Views: 19391
Product list item is not saving nor deleting
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux I can't seem to get this working, is it because of the custom list type? I added a new Aimeos\Admin\JQAdm\Product\Related\Custom . Also added a new template, which adds a third box in the "...