Search found 40 matches

by kartikbhat
25 Apr 2023, 11:47
Forum: Laravel package
Topic: Fetch Catalog list in Laravel controller
Replies: 1
Views: 2420

Fetch Catalog list in Laravel controller

I have an array of product ids, I need to fetch those products matching these products to display on browser.. How can I achieve this in Laravel controller.. I need to get all details of the product as we get on catalog list page


Help me resolve this

TIA :)
by kartikbhat
25 Apr 2023, 11:09
Forum: Laravel package
Topic: Translate functionality
Replies: 7
Views: 4313

Re: Translate functionality

How to maintain separate files for multiple language keys, as I have huge set of translative sentences/words, as we do in Laravel, separate folder for each languages.
Is it possible in Aimeos ? how we can access from either $translate or aitrans() functions ?
by kartikbhat
19 Apr 2023, 15:33
Forum: Laravel package
Topic: [Solved] Wishlistlisting a product through ajax call
Replies: 4
Views: 2450

Re: Wishlistlisting a product through ajax call

How can I insert Favorite product from laravel controller ? tried following approach $favoriteData = [ 'token' => csrf_token(), 'fav_action'=>$favorite['fav_action'], 'fav_id'=>$favorite['fav_id'], 'd_name'=>$favorite['d_name'], 'd_prodid'=>$favorite['d_prodid'] ]; $request = Request::create($postUr...
by kartikbhat
13 Apr 2023, 03:44
Forum: Laravel package
Topic: [Solved] Wishlistlisting a product through ajax call
Replies: 4
Views: 2450

[Solved] Wishlistlisting a product through ajax call

How can I use an ajax call to add a product to wishlist ?
again I need to show them under a profile section

Kindly let me know how to add it via ajax and fetch on page load ?

TIA :)
by kartikbhat
02 Mar 2023, 08:22
Forum: Laravel package
Topic: Access Supplier Media in Catalog Detail page
Replies: 1
Views: 612

Access Supplier Media in Catalog Detail page

I have added text and a media to a particular supplier from admin panel and I need to display them in a Catalog Detail page on front end....
SupplierMedia.png
SupplierMedia.png (159.13 KiB) Viewed 612 times
How to access them I am not getting...
Please help me to access them

TIA :)
by kartikbhat
21 Feb 2023, 08:42
Forum: Laravel package
Topic: Translate functionality
Replies: 7
Views: 4313

Re: Translate functionality

Thank you for the detailed explaination I didn't got the value 'client' - a third parameter is it a index present in shop.php ? 'client' => [ 'en'=>[ 'header'=>[ 'key1'=>'value2', 'key2'=>'value2', ], 'footer'=>[ 'key3'=>'value3', 'key4'=>'value4', ] ], 'fr'=>[ 'header'=>[ 'key1'=>'value2', 'key2'=>...
by kartikbhat
20 Feb 2023, 06:15
Forum: Laravel package
Topic: Translate functionality
Replies: 7
Views: 4313

Re: Translate functionality

What to pass for the parameters of the aitrans() function

Code: Select all

aitrans( 'Top', $params = [], $domain = 'client', $locale = null )

$params...
$domain...
$locale...

can I get a information on what these parameters indicate and how to pass language key in this function call ?

TIA :)
by kartikbhat
16 Feb 2023, 15:51
Forum: Laravel package
Topic: Translate functionality
Replies: 7
Views: 4313

Translate functionality

What is the difference between

Code: Select all

$this->translate( 'admin', 'Basic' )
and

aitrans( 'Top', $params = [], $domain = 'client', $locale = null )

When to use which method?

TIA :)
by kartikbhat
13 Feb 2023, 08:27
Forum: Laravel package
Topic: How to show translations in Blade files
Replies: 3
Views: 823

Re: How to show translations in Blade files

We cannot use those translation keys-value pairs defined under shop.php here in laravel blade files ?