Search found 14 matches

by Oleh
22 Jul 2020, 11:47
Forum: Laravel package
Topic: Get top saller in json api
Replies: 1
Views: 1806

Get top saller in json api

Hi,
In front-end
mysite.com/shop/Home~1 I see component:"Top seller" which include products
How I can get top seller in json api? Or I must create custom endpoint for this?
Thank you
by Oleh
20 Jul 2020, 13:56
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Re: Relate attribute to catalog

I added options in catalog like this is in products.
I resolved all errors and saved options to mshop_catalog_list with domain attribute.
Then I need to show all options related to catelog in options subpart.
How I can do this, I try to debug code in Catalog/Standart.php, but cannot find something ...
by Oleh
17 Jul 2020, 12:55
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Re: Relate attribute to catalog

Hi,
I got from Products tab subpart Options and put in catalog.
Then I want to save data which in options I added.
How can I do this.
I found method save() in namespace Aimeos\Admin\JQAdm\Catalog;

But I got an error message ErrorError saving data in this line of code: return $manager->insertItem ...
by Oleh
17 Jul 2020, 11:36
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Re: Relate attribute to catalog

Thank you, I resolved my mistake. I did composer dump-autoload and all work.
Also I changed all variables in item-attribute-standard.php to attribute and ibuttonwork!
by Oleh
17 Jul 2020, 09:35
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Re: Relate attribute to catalog

I did composer dump-autload and my extension working.
But I have a problem with subpart
This is admin.php in my ext:
'catalog' =>[
'standard' => [
'subparts' => [
'test'
]
]
]

Then I created Test folder in my extension in jqadm/src/Catalog/Test/Standard.php
This is content of file:
<?php ...
by Oleh
17 Jul 2020, 05:48
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Re: Relate attribute to catalog

Thank you for reply,
I created my extension with name test
I aded in composer in classmap:
"autoload": {
"classmap": [
"ext/<yourext>/lib/custom/src",
"ext/<yourext>/controller/common/src",
"ext/<yourext>/controller/frontend/src",
"ext/<yourext>/controller/jobs/src",
"ext/<yourext>/client ...
by Oleh
16 Jul 2020, 09:38
Forum: Laravel package
Topic: Relate attribute to catalog
Replies: 8
Views: 9566

Relate attribute to catalog

Hi,
In admin panel I can connect attribute to product, all data saved to mshop_index_attribute.
If I can in admin panel connect attribute to catalog item? Or I need to create custom extension?
If custom extension, creating new table which consist foreign keys from mshop_catalog and mshop_product is ...
by Oleh
15 Jul 2020, 12:08
Forum: Laravel package
Topic: Build filter
Replies: 2
Views: 2098

Re: Build filter

Thank you
by Oleh
14 Jul 2020, 12:22
Forum: Laravel package
Topic: Get list of products by ids
Replies: 6
Views: 4897

Re: Get list of products by ids

Thank you