Search found 18 matches

by РоманАндрейчук
16 Mar 2023, 19:09
Forum: Laravel package
Topic: Slow admin interface
Replies: 1
Views: 651

Slow admin interface

Hello. I am use next configuration: PHP7.4, Aimeos 2021.10, Laravel. I did some research on the admin interface pages. The script is loaded on them at /admin/default/jqadm/file/js It is handled by the Aimeos\Shop\Controller\JqadmController@fileAction controller. It concatenates js files from a speci...
by РоманАндрейчук
25 Jan 2023, 13:20
Forum: Laravel package
Topic: How can i to add the Last-Modified header for some actions in CatalogController.php?
Replies: 2
Views: 725

Re: How can i to add the Last-Modified header for some actions in CatalogController.php?

Thank you. I have seen this module. It is used in laravel controller. To use it, I have to override the entire CatalogController.
by РоманАндрейчук
18 Jan 2023, 12:45
Forum: Laravel package
Topic: How can i to add the Last-Modified header for some actions in CatalogController.php?
Replies: 2
Views: 725

How can i to add the Last-Modified header for some actions in CatalogController.php?

Hello. I am use next configuration: PHP7.4, Aimeos 2021.10, Laravel.

Can you advise me. How to add this header? So far I can see that I will need to override the entire controller and override routes for the actions I need. Can this be done easier?
by РоманАндрейчук
02 Nov 2022, 08:23
Forum: Laravel package
Topic: BasketLimits plugin problems
Replies: 2
Views: 538

Re: BasketLimits plugin problems

Maybe, I know what's up. I have overridden the following method (calcPrice) for my new Basket/Standard class: https://github.com/aimeos/ai-controller-frontend/blob/23c4fd28e2c56071e1dba2fd8a256ea2c3fe6f83/src/Controller/Frontend/Basket/Base.php#L31 change return from: return $price->setRebate( '0.00...
by РоманАндрейчук
25 Oct 2022, 19:26
Forum: Laravel package
Topic: BasketLimits plugin problems
Replies: 2
Views: 538

BasketLimits plugin problems

Hello. Found the following problem. I set the minimum order amount in the specified plugin to $25. And added a 10% discount on all products. Now, when placing an order, I need to add goods not for $25, but for $25 + 10% to be able to place an order. The order amount and discounts are stored in an in...
by РоманАндрейчук
27 Sep 2022, 13:59
Forum: Laravel package
Topic: Strange issue in checkout
Replies: 7
Views: 1774

Re: Strange issue in checkout

Hello. I'm having the same problem. When you change the localization, the trash is reset. When I return to the old locale, the items in the cart reappear. Sessions are stored in files.
Is there any solution to this problem?

php 7.4, aimeos 2021.10, laravel
by РоманАндрейчук
24 Sep 2022, 16:24
Forum: Laravel package
Topic: "setLocale.after" event not working for my plugin
Replies: 5
Views: 1097

Re: "setLocale.after" event not working for my plugin

Thank you! This method works. Can you add this code to your repository? Found some more problems: 1)Sometimes a variable is not stored in the session. Because of this, there is an unnecessary initialization of the basket object. https://github.com/aimeos/ai-controller-frontend/blob/master/src/Contro...
by РоманАндрейчук
21 Sep 2022, 13:07
Forum: Laravel package
Topic: "setLocale.after" event not working for my plugin
Replies: 5
Views: 1097

"setLocale.after" event not working for my plugin

Aimeos 2021.x, php7.4 Hello. I'm create new plugin for basket. It changes the amount according to the client's logic. class TenthFree extends \Aimeos\MShop\Plugin\Provider\Factory\Base implements \Aimeos\MShop\Plugin\Provider\Iface, \Aimeos\MShop\Plugin\Provider\Factory\Iface { public function regis...