Search found 7925 matches
- 31 Jan 2019, 13:06
- Forum: Laravel package
- Topic: Create manual order
- Replies: 9
- Views: 3693
Re: Create manual order
If you are implementing something in the mshoplib, you must not use the controllers but the managers directly instead. Then it will be something like this: $product = \Aimeos\MShop\Factory::createManager( $context, 'product' )->findItem( '<sku>', ['text', 'media', 'price'] ); $orderProduct = \Aimeos...
- 31 Jan 2019, 12:50
- Forum: Laravel package
- Topic: Example pages
- Replies: 20
- Views: 6601
Re: Example pages
Code: Select all
$item->getRefItems('text', 'long')
- 29 Jan 2019, 07:17
- Forum: TYPO3 extension
- Topic: Automatic image display on variant selection, is possbile?
- Replies: 5
- Views: 2596
Re: Automatic image display on variant selection, is possbil
The CSV import currently doesn't care about that automatically. If you extend the "media" import processor in that way, variant specific images will be shown in the frontend without saving them in the admin interface: https://github.com/aimeos/ai-controller-jobs/blob/master/controller/comm...
- 29 Jan 2019, 07:01
- Forum: Help
- Topic: translate current request (locale part in url)
- Replies: 3
- Views: 2251
Re: translate current request (locale part in url)
Aimeos supports localized product names in URLs but the locale selector doesn't have that information before switching the language. After switching from German to English, the name of the product in the URL will stay to German but if the customer clicks on another link, the URL will be completely i...
- 29 Jan 2019, 06:54
- Forum: Laravel package
- Topic: Create manual order
- Replies: 9
- Views: 3693
Re: Create manual order
Use something like this: $prodcntl = \Aimeos\Controller\Frontend\Product\Factory::createController( $context ); $prodId = $prodcntl->findItem( '<sku>' )->getId(); $basketcntl = \Aimeos\Controller\Frontend\Basket\Factory::createController( $context ); $basketcntl->addProduct( $prodId ); You also have...
- 29 Jan 2019, 06:43
- Forum: Laravel package
- Topic: Example pages
- Replies: 20
- Views: 6601
Re: Example pages
"getRefItems()" is available in all items that implement the \Aimeos\MShop\Common\Item\ListRef\Iface interface, i.e. products, categories, attributes, customers, services, prices and texts. "$item->price" and "$item->text" is undefined, you need to call $priceItems = $i...
- 29 Jan 2019, 06:36
- Forum: Laravel package
- Topic: How To add New Field In Product Upload Section
- Replies: 1
- Views: 955
Re: How To add New Field In Product Upload Section
You don't need a new tab because you can upload the PDF files in the "Images" tab (in 2019.x versions it has been renamed to "Media"). Choose "download" as the type of the PDFs and they will be listed in the product detail view for download.
- 25 Jan 2019, 07:55
- Forum: TYPO3 extension
- Topic: Loading Catalog Filter via Ajax
- Replies: 1
- Views: 961
Re: Loading Catalog Filter via Ajax
You can listen to the change event of the checkboxes and post the form data using a XHR request yourself. You will get back the HTML for the whole page but you can rip out the catalog list section and replace the existing one. That's pretty easy and we do in in the basket ourselves: - https://github...
- 25 Jan 2019, 07:51
- Forum: Laravel package
- Topic: Using several domains with multishop.
- Replies: 1
- Views: 988
Re: Using several domains with multishop.
Not sure because this is totally dependent on what Laravel can do. Sub-domain are possible according to the Laravel docs: https://laravel.com/docs/5.7/routing#ro ... in-routing
- 25 Jan 2019, 07:49
- Forum: Laravel package
- Topic: During Aimeos Setup Got Errors Laravel
- Replies: 7
- Views: 5814
Re: During Aimeos Setup Got Errors Laravel
Your database layout doesn't match those expected by the SQL statements. Please run
and watch out for any errors that stop migration to the new DB layout.
Code: Select all
php artisan aimeos:setup