Search found 12 matches

by SaurabhSharma
07 Mar 2020, 07:55
Forum: Help
Topic: Fetch product refItems with their stock levels
Replies: 1
Views: 1513

Fetch product refItems with their stock levels

I can get list of variant products for a particular product by using $item->getRefItems('product') What I want is to get ref items along with their stock levels. Also I tried looping through refitems but there's no "stock" domain right? So what method returns the stock data related to a pr...
by SaurabhSharma
07 Mar 2020, 04:34
Forum: Help
Topic: install fails over and over
Replies: 2
Views: 1318

Re: install fails over and over

It says your mysql db credentials are not correct. If they are try changing host from localhost to 127.0.0.1
by SaurabhSharma
06 Mar 2020, 13:54
Forum: Help
Topic: Filter products by category in admin panel
Replies: 1
Views: 1240

Filter products by category in admin panel

I have a base category (level 0) and several sub categories (level 1). In "templates/product/list-standard.php", I want to create a category filter to show products belonging to particular category only via a select box. For example if selected Nike, then list all products from that sub ca...
by SaurabhSharma
05 Mar 2020, 15:38
Forum: Help
Topic: Show product catalog in catalog/lists
Replies: 3
Views: 1768

Re: Show product catalog in catalog/lists

Can you guide or link some documentation?
It'd be very helpful.
by SaurabhSharma
03 Mar 2020, 16:54
Forum: Help
Topic: Show product catalog in catalog/lists
Replies: 3
Views: 1768

Show product catalog in catalog/lists

I want to access products categories in products grid. In template file "common/partials/products-standard.php"

Code: Select all

$productItem->getRefItems( 'catalog', 'default', 'default' )
by SaurabhSharma
29 Feb 2020, 18:21
Forum: Help
Topic: Products out of stock for Selection product
Replies: 3
Views: 1804

Re: Products out of stock for Selection product

Can you please elaborate more? Like what methods to look in or simply what table to look into? The entries are there in mshop_index_attribute table. Even then the selection is hidden in frontend? P.S. I manually added an entry in mshop_stock for one of the variant it worked. What I am asking is what...
by SaurabhSharma
28 Feb 2020, 13:09
Forum: Help
Topic: crud
Replies: 4
Views: 1891

Re: crud

by SaurabhSharma
27 Feb 2020, 16:36
Forum: Help
Topic: Create new product using aimeos manager
Replies: 9
Views: 17215

Re: Create new product using aimeos manager

The code above gives this error SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-product--' for key 'unq_msatt_sid_dom_type_code': INSERT INTO "mshop_attribute" ( "key", "type", "domain", "code", "status", "pos&...
by SaurabhSharma
27 Feb 2020, 15:33
Forum: Help
Topic: Products out of stock for Selection product
Replies: 3
Views: 1804

Products out of stock for Selection product

I am creating products via manager ( https://aimeos.org/help/post10930.html ) I am getting options to select products in catalog details, however when I continue adding to basket it gives me error saying "Products out of stock", "Sorry, at least one product is out of stock. Please rem...
by SaurabhSharma
27 Feb 2020, 13:39
Forum: Help
Topic: Adapt Basket
Replies: 2
Views: 3064

Re: Adapt Basket

You need to create an extension (Read here https://aimeos.org/docs/Developers/Create_an_extension)

Then copy standard file from
ai-client-html/client/html/templates/basket/standard/body-standard.php to
yourextension/client/html/templates/basket/standard directory. Modify the content there.