Search found 210 matches

by kdim95
25 Nov 2022, 11:01
Forum: Laravel package
Topic: creating managers
Replies: 15
Views: 6931

Re: creating managers

Hello, Thanks for the information posted here. I am confused by one part of the setup here: https://github.com/aimeos/aimeos-core/blob/master/setup/Review.php Why does it say $db = $this->db( 'db-review' ); , the database is being set to 'db-review'? If my database is under a different name, should ...
by kdim95
24 Nov 2022, 14:24
Forum: Laravel package
Topic: How to filter only promotion products?
Replies: 2
Views: 602

How to filter only promotion products?

Laravel framework version: 9.41.0 Aimeos Laravel version: * 2022.07.2 PHP Version: 8.1.12 Environment: Linux I want to show only products that have categories added their promotion categories list. The file I'm redacting is a customized version of ai-client-html/src/Client/Html/Catalog/Lists/Standar...
by kdim95
23 Nov 2022, 14:27
Forum: Laravel package
Topic: mshop_product instock column not updating, filtering by stock (display only products in stock)
Replies: 9
Views: 2362

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

I think I found an error here: ai-admin-jqadm/src/Admin/JQAdm/Product/Stock It looks to me that inside fromArray() there is an attempt to update the "instock" column, but using the wrong method. I have created a pull request where it uses the correct method. https://github.com/aimeos/ai-ad...
by kdim95
21 Nov 2022, 15:30
Forum: Laravel package
Topic: mshop_product instock column not updating, filtering by stock (display only products in stock)
Replies: 9
Views: 2362

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

I want to include the stock to every product and then filter it. I have included it to the domains like so: 'catalog' => [ 'lists' => [ 'domains' => [ 'attribute', 'catalog', 'catalog/stock', 'catalog/lists', 'media', 'media/property', 'price', 'supplier', 'text', 'product', 'stock', ], ] ] The stoc...
by kdim95
19 Nov 2022, 14:10
Forum: Laravel package
Topic: mshop_product instock column not updating, filtering by stock (display only products in stock)
Replies: 9
Views: 2362

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

Can you please give me guidance on the most optimized way of adding a stock level filter in the data() here:
ai-client-html/src/Client/Html/Catalog/Lists/Standard
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: 2362

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

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

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

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

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...