Search found 7 matches
- 19 Aug 2020, 08:51
- Forum: Laravel package
- Topic: Create manual order
- Replies: 9
- Views: 3619
Re: Create manual order
Hello, Just to let you know, I ended up with something like this: $context = app()->make('aimeos.context')->get(); $productManager = \Aimeos\MShop::create($context, 'product'); // ORDER BASE PRODUCT $orderProduct = \Aimeos\MShop::create($context, 'order/base/product'); $orderedProducts = []; foreach...
- 17 Aug 2020, 09:37
- Forum: Laravel package
- Topic: Create manual order
- Replies: 9
- Views: 3619
Re: Create manual order
Hello, Thanks for help. I have one more queston about this. We want to have simple shop like: products and orders. So we don't have catalogs, categories, etc. And now I have bug usning frontend controllers you sent me in code snippet: Aimeos\Controller\Frontend\Basket\Exception Adding product with I...
- 14 Aug 2020, 15:27
- Forum: Laravel package
- Topic: Create manual order
- Replies: 9
- Views: 3619
Re: Create manual order
Hello, One question, please. How can I add multiple products in single order? At the end, I need sum of price and quantites for an order like: $order = [ 0 => [ "product_id" => "17" "quantity" => "3" ] 1 => [ "product_id" => "27" "quan...
- 10 Aug 2020, 10:33
- Forum: Laravel package
- Topic: Unable to retrieve custom fields from products table
- Replies: 2
- Views: 1105
Re: Unable to retrieve custom fields from products table
OK, it was the wrong namespace problem. Now I have next challenge: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mshop_product.show_on_page' in 'field list': INSERT INTO "mshop_product" ( "mshop_product.show_on_page", "mshop_product.name", "mshop_product....
- 10 Aug 2020, 08:23
- Forum: Laravel package
- Topic: Unable to retrieve custom fields from products table
- Replies: 2
- Views: 1105
Unable to retrieve custom fields from products table
Hello, I want to customise (simplify) product view and product table but still use amazing Managers. I made custom decorator in my extension called "material-theme", and I would like to retreive these fields using product manager. Extension looks like this: https://paste.pics/f61ee711b38e0...
- 04 Aug 2020, 10:53
- Forum: Laravel package
- Topic: Custom file path in products
- Replies: 3
- Views: 1876
Re: Custom file path in products
Hello again, First, thanks for the fast reply. :) Now I would like to know one more thing about this topic. So, I updated shop.php like you said: 'fs' => [ 'adapter' => 'Standard', 'basedir' => storage_path('app/public'), 'tempdir' => storage_path('tmp'), 'baseurl' => config('app.url') . '/storage/'...
- 03 Aug 2020, 13:51
- Forum: Laravel package
- Topic: Custom file path in products
- Replies: 3
- Views: 1876
Custom file path in products
Hello, I am using Ameous package in Laravel 6.x version. I would like to ask how can I change the upload path of product images? So far I found I can change upload folders in shop.php config file like this: 'fs' => [ 'adapter' => 'Standard', 'basedir' => storage_path('app/public'), 'tempdir' => stor...