Search found 23 matches

by D-Cell
24 Feb 2020, 23:27
Forum: Laravel package
Topic: Cyrillic product names in URL segments (slug)
Replies: 5
Views: 2564

Re: Cyrillic product names in URL segments (slug)

Ok...i give up (. Seems like i am not qualified enough to achieve it. Hope the automatic product name transliteration will be added to one of the future versions of Aimeos. It would be a great improvement for those people, who uses cyrillic languages in their stores.
by D-Cell
20 Feb 2020, 20:49
Forum: Laravel package
Topic: Cyrillic product names in URL segments (slug)
Replies: 5
Views: 2564

Re: Cyrillic product names in URL segments (slug)

Thank you! I`ll try to use one of the options you provided and post the solution here in case of success.
by D-Cell
18 Feb 2020, 13:00
Forum: Laravel package
Topic: Cyrillic product names in URL segments (slug)
Replies: 5
Views: 2564

Re: Cyrillic product names in URL segments (slug)

PHP has the "iconv" method to translate between character sets but the results are somtimes terrible: https://www.php.net/manual/en/function.iconv The fastest way: Use product labels with latin characters and remove the url segments. You always have to add a label, so it's no extra effort...
by D-Cell
17 Feb 2020, 22:46
Forum: Laravel package
Topic: Cyrillic product names in URL segments (slug)
Replies: 5
Views: 2564

Cyrillic product names in URL segments (slug)

Hello! I`m developing a store with Aimeos 2019.10. The main language of this store is Ukrainian, so product names are written in Ukrainian. According to this, i have a cyrillic symbols in my URLs, what is bad for SEO. Each time i add a product i have to add a custom latin text (on the Texts tab of p...
by D-Cell
21 Dec 2019, 21:09
Forum: Laravel package
Topic: Run Aimeos jobs in Laravel controller
Replies: 5
Views: 2372

Run Aimeos jobs in Laravel controller

Hello! I`m writing custom product import script for my project. It helps the shop admin to choose which columns from Excel file have to be imported. After admin finishes, the script saves the final CSV file to my local storage (public/csv/products directory). After that i have to run php artisan aim...
by D-Cell
19 Dec 2019, 18:30
Forum: Laravel package
Topic: Stock level is not visible on custom page
Replies: 3
Views: 1362

Re: Stock level is not visible on custom page

Stock level information is dynamically loaded using an asynchronous request (via JS). Please check if the /stock URL is part of the HTML header (in a <script>/script> tag) and no error is shown in the browser console. Yes! This is it! I didn`t have {!! $params['aiheader']['catalog/lists'] !!} in my...
by D-Cell
18 Dec 2019, 21:43
Forum: Laravel package
Topic: Stock level is not visible on custom page
Replies: 3
Views: 1362

Re: Stock level is not visible on custom page

Sorry, forgot to provide my system info:

Aimeos 2019.10, Laravel 6.2, Fedora 30, PHP 7.3
by D-Cell
18 Dec 2019, 11:02
Forum: Laravel package
Topic: Stock level is not visible on custom page
Replies: 3
Views: 1362

Stock level is not visible on custom page

Hello, dear Aimeos team! I made a custom controller for separate category page. Here is the code: class CategoryController extends Controller { public function treeAction() { foreach( app( 'config' )->get( 'shop.page.catalog-tree' ) as $name ) { $params['aiheader'][$name] = Shop::get( $name )->getHe...
by D-Cell
28 Oct 2019, 20:28
Forum: Laravel package
Topic: Preview images generation/rescale problem
Replies: 2
Views: 1200

Re: Preview images generation/rescale problem

You have to use the new "previews" key: https://github.com/aimeos/aimeos-core/blob/2019.10/config/controller.php#L31-L43 Is there any old documentation we forgot to update? Hi! Thank you for reply! The way you provided works perfect. :D I used this particle to work with thumbnails before ...
by D-Cell
27 Oct 2019, 20:01
Forum: Laravel package
Topic: Preview images generation/rescale problem
Replies: 2
Views: 1200

Preview images generation/rescale problem

Hello, dear Aimeos team! I installed the fresh version of Aimeos (2019.10) on Laravel 6.2. Everything seems to work well, but the only problem i have is a product preview images rescale. I would like them to have a different size in my project, so i added next lines to my shop.php: 'controller' => [...