Search found 207 matches

by kdim95
15 Sep 2023, 08:33
Forum: Laravel package
Topic: Error when addService.before is attached
Replies: 4
Views: 13691

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...
by kdim95
15 Sep 2023, 08:21
Forum: Laravel package
Topic: Error when addService.before is attached
Replies: 4
Views: 13691

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...
by kdim95
14 Sep 2023, 13:37
Forum: Laravel package
Topic: Error when addService.before is attached
Replies: 4
Views: 13691

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...
by kdim95
08 Sep 2023, 11:51
Forum: Laravel package
Topic: Documentation needs update
Replies: 1
Views: 9428

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.
by kdim95
30 Aug 2023, 13:12
Forum: Laravel package
Topic: Product list item is not saving nor deleting
Replies: 2
Views: 19351

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?
by kdim95
30 Aug 2023, 02:01
Forum: Laravel package
Topic: Product list item is not saving nor deleting
Replies: 2
Views: 19351

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 "...
by kdim95
25 Aug 2023, 14:27
Forum: Laravel package
Topic: ElasticSearch - Search issues
Replies: 3
Views: 37675

Re: ElasticSearch - Search issues

Ok, the problem is not the score, but the max_result_window, it sorts only the first 10,000 products and some of them remain out of range and not sorted. There are more than 100,000 products in the index, which need to be sorted. I know that increasing the max_result_window would impact performance,...
by kdim95
17 Aug 2023, 11:35
Forum: Laravel package
Topic: Delivery service provider functionality
Replies: 1
Views: 14024

Delivery service provider functionality

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, I am looking to implement the following functionality for delivery service providers: Every time something in the basket changes , there needs to be a call to an outside API. The API wil...
by kdim95
16 Aug 2023, 14:33
Forum: Laravel package
Topic: ElasticSearch - Remove English indexing, leave only Bulgarian
Replies: 4
Views: 14429

Re: ElasticSearch - Remove English indexing, leave only Bulgarian

I understand what I need to change. /** * Returns the language IDs available for the current site * * @return string[] List of ISO language codes */ protected function getLanguageIds() : array { if( !isset( $this->languageIds ) ) { $list = []; $manager = \Aimeos\MShop::create( $this->context(), 'loc...