Search found 205 matches

by kdim95
18 Nov 2022, 09:58
Forum: Laravel package
Topic: mshop_product instock column not updating, filtering by stock (display only products in stock)
Replies: 9
Views: 2283

mshop_product instock column not updating, filtering by stock (display only products in stock)

Laravel framework version: 9.40.1 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.12 Environment: Linux Hello, I am looking at the code in ai-client-html/src/Client/Html/Catalog/Lists/Standard . I want to add a filter that only shows products that are in stock. It looks like the filtering happe...
by kdim95
17 Nov 2022, 12:26
Forum: Laravel package
Topic: Display catalog/filter/tree in <aside> for product listing page
Replies: 1
Views: 428

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

I found what I had to change. I had to add this config in my config/shop.php 'client' => [ 'html' => [ 'catalog' => [ 'filter' => [ 'subparts' => ['tree', 'search', 'price', 'supplier', 'attribute'] ] ] ] ] By default the 'tree' subpart is commented in ai-client-html/config/client.php
by kdim95
16 Nov 2022, 11:59
Forum: Laravel package
Topic: Wrong currency language applied when basket updates from JS
Replies: 5
Views: 937

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

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

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

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

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

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

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

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?