Search found 4 matches

by Chaeril
19 Mar 2016, 14:14
Forum: Laravel package
Topic: Admin rebuild : getting/creating/updating data
Replies: 17
Views: 3807

Re: Admin rebuild : getting/creating/updating data

Hi,
i am stuck with creating order, from what i understand i need to create 3 manager for each of order, order/base, and order/base/product. then save order/base, get last id and save the rest of data using .baseid
is there a transactional way to do this?
by Chaeril
08 Mar 2016, 12:08
Forum: Laravel package
Topic: Admin rebuild : getting/creating/updating data
Replies: 17
Views: 3807

Re: Admin rebuild : getting/creating/updating data

$json = null; $items = $manager->searchItems($search, array('media', 'text', 'attribute', 'price')); foreach ($items as $id => $item) { $item = $manager->getItem($id, array('media', 'text', 'attribute', 'price')); $temp = $item->toArray(); $temp['text'] = $item->getRefItems('text'); $temp['media'] ...
by Chaeril
21 Feb 2016, 10:45
Forum: Laravel package
Topic: Admin rebuild : getting/creating/updating data
Replies: 17
Views: 3807

Re: Admin rebuild : getting/creating/updating data

1. if i want to find stock and / or media for product, do i need to set up another manager and submanager search? $manager = \Aimeos\MShop\Factory::createManager($context, 'product'); $search = $manager->createSearch(); $getSubManager = $manager->getSubManager('stock'); $sub_search = $getSubManager-...
by Chaeril
19 Feb 2016, 05:16
Forum: Laravel package
Topic: Admin rebuild : getting/creating/updating data
Replies: 17
Views: 3807

Re: Admin rebuild : getting/creating/updating data

Hi,
I keep getting error 'Class 'MShop_Factory' not found' is it changed in ~2016 or i missed something?

edit:
is it \Aimeos\MShop\Factory::createManager ?