Search found 205 matches

by kdim95
08 Apr 2024, 09:14
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33410

Re: Integrity constraint violation when importing existing products, categories, etc.

Hello, Fixing the capitalization worked for the root catalog item, but the error occurs for the children as well Does this mean that the children also have to have ref="" parameter matching the catalog.code ? Adding this parameter to the child <catalogitem> tags seems to work, so I think t...
by kdim95
08 Apr 2024, 08:41
Forum: Laravel package
Topic: How to set elastic search custom field type?
Replies: 2
Views: 12262

Re: How to set elastic search custom field type?

Thank you @nos3, works great <?php return [ 'base' => function( array $mappings ) { $map = [ 'base' => [ 'properties' => [ 'myfield' => [ 'type' => 'date', 'format' => 'yyyy-MM-dd HH:mm:ss' ] ] ] ]; return array_replace_recursive( $mappings, $map ); } ];
by kdim95
05 Apr 2024, 12:45
Forum: Laravel package
Topic: How to set elastic search custom field type?
Replies: 2
Views: 12262

How to set elastic search custom field type?

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 10.46.0 Environment: Linux Hello, I want to set a custom field to be of type "date" in the elastic search mappings. The reason behind this is because filtering results based on date breaks with custom attribu...
by kdim95
04 Apr 2024, 15:02
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33410

Re: Integrity constraint violation when importing existing products, categories, etc.

Hello, I get Integrity constraint violation even when attempting to import the root catalog item: Minimal XML: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <catalog> <catalogitem ref="home"> <catalog.code><![CDATA[Home]]></catalog.code> <catalog.lab...
by kdim95
04 Apr 2024, 12:46
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33410

Integrity constraint violation when importing existing products, categories, etc.

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.17 Environment: Linux Hello, I'm getting integrity constraint errors when importing XMLs for products, categories, etc. The expected behavior is for the products, categegories, etc. to be updated if they already ex...
by kdim95
07 Nov 2023, 10:49
Forum: Laravel package
Topic: jsonapi - how to increase rate limiter
Replies: 1
Views: 846

jsonapi - how to increase rate limiter

Hello,

How do you increase the rate limiter time for the jsonapi so that it takes more attempts before it throws "Too Many Attempts."?
Please add the information in the documentation if it exists.
by kdim95
19 Oct 2023, 13:51
Forum: Laravel package
Topic: Aimeos Autofill plugin conflict with jsonapi service update
Replies: 7
Views: 34073

Re: Aimeos Autofill plugin conflict with jsonapi service update

I found a solution.

I added a bool parameter to every method that sends notifications in this class:
Aimeos\MShop\Order\Item\Base

The AutoFill plugin should set that bool parameter to false when calling deleteService(), addService(), etc.
by kdim95
19 Oct 2023, 11:49
Forum: Laravel package
Topic: Aimeos Autofill plugin conflict with jsonapi service update
Replies: 7
Views: 34073

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...
by kdim95
06 Oct 2023, 08:26
Forum: Laravel package
Topic: Rebate is added as a product in the basket
Replies: 2
Views: 11157

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...
by kdim95
05 Oct 2023, 15:16
Forum: Laravel package
Topic: Rebate is added as a product in the basket
Replies: 2
Views: 11157

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...