Search found 13 matches

by kopz
14 Feb 2025, 13:29
Forum: Laravel package
Topic: switching logger to monolog
Replies: 2
Views: 20791

Re: switching logger to monolog

Thank you
by kopz
12 Feb 2025, 08:30
Forum: Laravel package
Topic: switching logger to monolog
Replies: 2
Views: 20791

switching logger to monolog

Hi,

How do you configure logging so that it writes to file instead of db (madmin_log) ?

I've installed ai-monolog but I'm having some trouble with using that as the default logger (globally).

Info:
PHP 8.2
aimeos/ai-monolog 2023.10.2
aimeos/aimeos-laravel 2023.10.8
laravel/framework 10.48.11
by kopz
18 Nov 2024, 08:07
Forum: Help
Topic: Percona-XtraDB-Cluster doesn't recommend use of DML command on a table (mshop_index_supplier)
Replies: 3
Views: 66697

Re: Percona-XtraDB-Cluster doesn't recommend use of DML command on a table (mshop_index_supplier)

you can't add primary keys to existing columns
What about adding a new column (PK AI) without altering any of the existing columns?

Thanks for the answers.
by kopz
15 Nov 2024, 14:24
Forum: Help
Topic: Percona-XtraDB-Cluster doesn't recommend use of DML command on a table (mshop_index_supplier)
Replies: 3
Views: 66697

Percona-XtraDB-Cluster doesn't recommend use of DML command on a table (mshop_index_supplier)

Hi, Any reason why some tables don't have a primary key (mshop_index_price, mshop_index_supplier ...) ? I'd just like to know if I can safely make migrations on these tables to alter prodid into PK without any side effects. {"log":"2024-11-13T09:21:08.071343Z 38589 [Warning] [MY-00000...
by kopz
14 Jun 2024, 10:51
Forum: Laravel package
Topic: jsonapi search by product properties
Replies: 1
Views: 24944

jsonapi search by product properties

Is it possible to search by product properties?

Something like:

Code: Select all

 /jsonapi/product?filter[%7E%3D][product.property.gtin]=7894326783&include=product.property 
by kopz
21 Feb 2024, 13:55
Forum: Laravel package
Topic: Basket empty after login
Replies: 9
Views: 120798

Re: Basket empty after login

when you try to log in in another browser or on another device, the basket will be empty. I think this is expected behavior as the session ID and cookies are different, is there any update on this in the aimeos versions? Or I need to change this behavior by overwriting the getSession/setSession() m...
by kopz
21 Feb 2024, 13:13
Forum: Laravel package
Topic: persisting basket data between different customer sessions?
Replies: 2
Views: 30897

Re: persisting basket data between different customer sessions?

Thanks for the fast and helpful reply.

Making an extension to extend the original order manager seems like the way to go if this is the default behavior (and the shop will only support registered users).
by kopz
21 Feb 2024, 12:01
Forum: Laravel package
Topic: persisting basket data between different customer sessions?
Replies: 2
Views: 30897

persisting basket data between different customer sessions?

Hi, Using: - aimeos/aimeos-headless (2023.10.10) - PHP 8.2 - Laravel v10.40.0 - using an external auth provider (Keycloak); requests from frontend include a Bearer token auth. header + csrf token Scenario: - authenticated user adds items to basket - items are present in mshop_order_basket with the c...
by kopz
26 Jan 2024, 06:44
Forum: Laravel package
Topic: properly extending the User model?
Replies: 8
Views: 22160

Re: properly extending the User model?

Thank you for pointing me in the right direction. I now have a customer/partner manager with working create, find, search ... this is fine for managing new partners but I'm still a bit confused on how to add partners to a customer (if I manually add a record to usesr_list I see a working relation on...
by kopz
24 Jan 2024, 11:39
Forum: Laravel package
Topic: properly extending the User model?
Replies: 8
Views: 22160

Re: properly extending the User model?

Thank you.
Because you don't use the users_list table to reference the partners or using a parent/child relationship between the users and the users_partner table, you have to instantiate the customer/partner manager and fetch the items yourself.
Is this covered anywhere in the documentation?