Search found 39 matches

by yeh
16 Nov 2022, 16:21
Forum: Help
Topic: Retrieving order with products
Replies: 4
Views: 1252

Re: Retrieving order with products

That is exactly what I need, thank you :)
by yeh
15 Nov 2022, 11:21
Forum: Help
Topic: Retrieving order with products
Replies: 4
Views: 1252

Re: Retrieving order with products

great, thank you. That works to retrieve the products, however the code is only retrieving products for the currently selected site. I am setting the locale site id earlier in the code, is there anything else I need to do to set the context to the default site rather than the site currently selected?
by yeh
10 Nov 2022, 14:41
Forum: Help
Topic: Retrieving order with products
Replies: 4
Views: 1252

Retrieving order with products

I have a parent site with many sub sites using the ai-sites extension. I have a decorator on jqadm/order/decorators/global that needs to be able to access all the products on an order even if they are attached to different sub-sites. So when an order is saved on a particular sub-site, the decorator ...
by yeh
21 Oct 2022, 12:05
Forum: Help
Topic: Stock levels on front-end only take one type of stock into account
Replies: 4
Views: 1106

Re: Stock levels on front-end only take one type of stock into account

Sure, no problem. I have just submitted a pull request now :)
by yeh
21 Oct 2022, 09:47
Forum: Help
Topic: Stock levels on front-end only take one type of stock into account
Replies: 4
Views: 1106

Re: Stock levels on front-end only take one type of stock into account

Just a quick follow-up on this, it looks like the slice() function is restricting the stock returned. If I remove that, then all stock is found including "warehouse-1" $sort = $context->config()->get( 'client/html/catalog/stock/sort', 'stock.type' ); $type = $context->locale()->getSiteItem...
by yeh
21 Oct 2022, 09:42
Forum: Help
Topic: Stock levels on front-end only take one type of stock into account
Replies: 4
Views: 1106

Stock levels on front-end only take one type of stock into account

On the front-end of the site, the page makes a separate request to /default/shop/stock to retrieve the stock levels for each item in a selection product. This data is retrieved from the data method on Aimeos\Client\Html\Catalog\Stock\Standard However, this function only returns stock of a single typ...
by yeh
18 Oct 2022, 12:13
Forum: Help
Topic: Handling different stock types
Replies: 2
Views: 790

Re: Handling different stock types

Great, thank you. This is very useful.
by yeh
12 Oct 2022, 15:24
Forum: Help
Topic: Handling different stock types
Replies: 2
Views: 790

Handling different stock types

I am trying to set up a system with different stock types to handle having 2 stock locations. The standard stock amount will be the main stock level that is used, with admins able to also add stock to location two by setting the stock type to "location 2" in the stock settings. What I want...
by yeh
28 Sep 2022, 11:54
Forum: Help
Topic: Stock import CSV mapping
Replies: 2
Views: 765

Re: Stock import CSV mapping

I see, thank you.
by yeh
28 Sep 2022, 11:53
Forum: Help
Topic: CSV Product Options
Replies: 2
Views: 658

Re: CSV Product Options

Ah perfect! Thank you for the explanation.