Search found 32 matches

by Sabir_Ali
27 Jun 2024, 06:45
Forum: Laravel package
Topic: Different baskets for different languages (locale).
Replies: 5
Views: 33996

Re: Different baskets for different languages (locale).

OK. This is one of scenarios on demo site I just did after reading your comment (I did not change the currency to prevent too difficult steps): Scenario 1. 1. EN. Add one product to the basket. Expected behaviour: EN. One product is in the basket. Actual behaviour: EN. One product is in the basket. ...
by Sabir_Ali
24 Jun 2024, 12:20
Forum: Laravel package
Topic: Different baskets for different languages (locale).
Replies: 5
Views: 33996

Re: Different baskets for different languages (locale).

In Aimeos, the used language is in the Locale object of the context: app('aimeos.context')->locale()->getLanguageId() The language is determined by the "locale" parameter in the URL: https://github.com/aimeos/aimeos-laravel/blob/master/src/Base/Locale.php#L48-L74 Yes. I can set the locale...
by Sabir_Ali
21 Jun 2024, 11:08
Forum: Laravel package
Topic: Different baskets for different languages (locale).
Replies: 5
Views: 33996

Different baskets for different languages (locale).

PHP: 8.2.7 Laravel Framework: 10.48.4 System: Debian GNU/Linux 12 Aimeos Laravel v2023.10 ~~~~~~~~~~~~~~~~~~~~~ Hi Aimeos! I have an issue in working with basket for different locale. When I add a product under one language and switch to another language and then add a product to the basket it may n...
by Sabir_Ali
30 May 2024, 08:17
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 4
Views: 24781

Re: How to translate Category name on adding new languages?

I solved the problem after I put things in order in the Locales list in the Admin Panel and made its values ​​​​according to the mshop_locale table. This topic helped: https://aimeos.org/help/laravel-package-f18/how-to-change-default-language-in-aimeos-and-how-to-get-product-data-in-that-specific-la...
by Sabir_Ali
29 May 2024, 10:58
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 4
Views: 24781

Re: How to translate Category name on adding new languages?

Please Help! I added three translates for Categories: EN, RU, AZ. Two of them work normal. I see translation in the front-end. But third one (AZ) doesn't work. Default value (EN) comes on it's place. All information of Name parameters of Category in Admin Panel are identical. In the language switch ...
by Sabir_Ali
27 May 2024, 10:06
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 4
Views: 24781

Re: How to translate Category name on adding new languages?

Yes. I found where to add new language :D - in the Locales menu of Admin Panel.
But when I add third language in the Admin Panel for the Category - it still doesn't work.
by Sabir_Ali
27 May 2024, 09:46
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 4
Views: 24781

Re: How to translate Category name on adding new languages?

I added new record into the mshop_locale table for one of the new languages and it works as expected. But what to do if a language (the third one in my case) that I want to add to the Name of Category is not listed in the Language field of Text option in the Admin Panel? Should I also add this langu...
by Sabir_Ali
27 May 2024, 09:01
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 4
Views: 24781

How to translate Category name on adding new languages?

PHP: 8.2.7 Laravel Framework: 10.48.4 System: Debian GNU/Linux 12 Aimeos Laravel v2023.10 Hello! The task is adding new locales. I removed DE and added two new locales (languages) into the app. I modified the language selection menu in the packages/ourpackage/templates/client/html/locale/select/lang...
by Sabir_Ali
17 May 2024, 09:44
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 44539

Re: New added product preview image (in 720) is not shown in product details page.

Yes! It works! :D Actually I must add all elements and into 'controller' array to make the function to see all of them: 'controller' => [ 'frontend' => [ 'catalog' => [ 'levels-always' => 3, // number of category levels for mega menu ], ], 'common' => [ 'media' => [ 'product' => [ 'previews' => arra...