Search found 208 matches

by kdim95
07 Nov 2022, 14:45
Forum: Laravel package
Topic: Wrong currency language applied when basket updates from JS
Replies: 5
Views: 961

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: 579

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: 579

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: 822

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: 1641

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...
by kdim95
31 Oct 2022, 13:21
Forum: Laravel package
Topic: How to get GrapesJS CMS trait values in the frontend?
Replies: 1
Views: 435

How to get GrapesJS CMS trait values in the frontend?

Laravel framework version: 9.37.0 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.11 Environment: Linux Hello, I've created a new trait for the cataloglist component. The trait is { type: 'select', label: 'Style', name: 'list_style', options: [ {id: 'style-1', name: 'Style 1'}, {id: 'style-2', ...
by kdim95
31 Oct 2022, 13:04
Forum: Laravel package
Topic: Product discount not calculated correctly?
Replies: 4
Views: 822

Re: Product discount not calculated correctly?

Thanks. I may want to change this functionality so that I can enter a product price and have a discount % field. A tip on what files I need to change for this would be appreciated. The goal is not having to calculate the final price myself to get, for example, a 25% discount for product or products....
by kdim95
28 Oct 2022, 14:43
Forum: Laravel package
Topic: How to get product characteristics and attributes in the product frontend template
Replies: 2
Views: 615

How to get product characteristics and attributes in the product frontend template

Laravel framework version: 9.37.0
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.11
Environment: Linux

Hello, I want to get the product characteristics and attributes in this template for example
templates\client\html\common\partials\products.php


How do I go about doing this?
by kdim95
26 Oct 2022, 13:37
Forum: Laravel package
Topic: Product discount not calculated correctly?
Replies: 4
Views: 822

Product discount not calculated correctly?

Laravel framework version: 9.36.4 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.9 Environment: Linux I have added a product with BGN (leva) currency and added a discount. The price is 100 leva, the discount is 50 leva. The frontpage shows that the discount is 33%, but shouldn't it be 50%? I d...