Search found 213 matches

by kdim95
16 Nov 2022, 11:59
Forum: Laravel package
Topic: Wrong currency language applied when basket updates from JS
Replies: 5
Views: 1025

Re: Wrong currency language applied when basket updates from JS

In that case if the site is in one language and I have a different browser language, there will be a mismatch in the languages. I'm looking into Intl, it looks like it accepts a language parameter, which I've set to languageid. const languageid = attr['order.base.languageid']; const formatter = new ...
by kdim95
16 Nov 2022, 10:00
Forum: Laravel package
Topic: Wrong currency language applied when basket updates from JS
Replies: 5
Views: 1025

Re: Wrong currency language applied when basket updates from JS

I have installed a clean Aimeos to test this. What I've done is include the bg locale with BGN currency in the Locales from this admin page: /admin/default/jqadm/search/locale I have turned on Bulgarian in the Languages from this admin page: /admin/default/jqadm/search/locale/language I have turned ...
by kdim95
16 Nov 2022, 08:05
Forum: Laravel package
Topic: Display catalog/filter/tree in <aside> for product listing page
Replies: 1
Views: 464

Display catalog/filter/tree in <aside> for product listing page

Laravel framework version: 9.40.0 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.12 Environment: Linux Hello, I need to include the catalog/filter/tree in the <aside> section in the product listing. I have determined that it should be visible judging by this template file: /templates/client/ht...
by kdim95
09 Nov 2022, 10:45
Forum: Laravel package
Topic: Working with cookies
Replies: 1
Views: 438

Working with cookies

Laravel framework version: 9.38.0 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.12 Environment: Linux Hello, I am going to use custom cookies and was wondering if you have a set standard for working with cookies in Aimeos. Currently I have included the js-cookie library in my app.js and setti...
by kdim95
08 Nov 2022, 09:20
Forum: Laravel package
Topic: How to get the product characteristics and attributes in basket-mini.js
Replies: 1
Views: 429

How to get the product characteristics and attributes in basket-mini.js

Hello,

I would say that this is a continuation to this thread:
How to get product characteristics and attributes in the product frontend template

I need to get the same characteristics and attributes in the updateBasket(basket) method inside basket-mini.js.
How do I go about doing this?
by kdim95
07 Nov 2022, 14:45
Forum: Laravel package
Topic: Wrong currency language applied when basket updates from JS
Replies: 5
Views: 1025

Wrong currency language applied when basket updates from JS

Laravel framework version: 9.38.0 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.12 Environment: Linux The currency language is correct when the page is refreshed. The currency language is wrong if a new product is added and the basket updates. Example: 10.00 лв becomes BGN 10.00 So the proble...
by kdim95
07 Nov 2022, 09:33
Forum: Laravel package
Topic: How to stop conversion from cyrillic to latin in product URL segments?
Replies: 2
Views: 614

Re: How to stop conversion from cyrillic to latin in product URL segments?

Thanks, that works.

I added the code inside public function boot()

This is needed because I need to keep the original cyrillic URLs of an existing shop.
by kdim95
04 Nov 2022, 09:35
Forum: Laravel package
Topic: How to stop conversion from cyrillic to latin in product URL segments?
Replies: 2
Views: 614

How to stop conversion from cyrillic to latin in product URL segments?

Laravel framework version: 9.38.0
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.12
Environment: Linux

Aimeos automatically translates cyrillic to latin when saving the product URL segment, how do I prevent this from happening?
by kdim95
31 Oct 2022, 23:37
Forum: Laravel package
Topic: Product discount not calculated correctly?
Replies: 4
Views: 910

Re: Product discount not calculated correctly?

Thank you! The category rule is probably exactly what I need.
by kdim95
31 Oct 2022, 23:06
Forum: Laravel package
Topic: I need favorite items on a custom page
Replies: 3
Views: 1685

Re: I need favorite items on a custom page

I had the same task, but struggled a bit while getting the custom page to work, so I want to add some details on how I did it, hopefully it helps others. I placed the controller in src/Controllers/FavouritesController.php . The controller looks like this: namespace App\Http\Controllers; use Aimeos\S...