Fronteng get all site ids
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Fronteng get all site ids
Hello,
I'm facing a problem with multi shop,
in the frontend it only show items from default site id which is 1 and does not show items from different shop id.
Is there any function to get all site ids for the frontend only without affecting the products on the backend and keep showing items depending on site id on the backend?
I'm facing a problem with multi shop,
in the frontend it only show items from default site id which is 1 and does not show items from different shop id.
Is there any function to get all site ids for the frontend only without affecting the products on the backend and keep showing items depending on site id on the backend?
Re: Fronteng get all site ids
Laravel has no means to separate frontend and backend configuration as far as I know.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Re: Fronteng get all site ids
I'm not talking about laravel,
in aimeos list page it's by default showing products from siteid 1 ,
if i have many sites it does not display the items of other siteid how can i fix it?
And also i want to ask about filters if i want to use f_name and not f_catid is it possible or use f_catid with array of ids?
in aimeos list page it's by default showing products from siteid 1 ,
if i have many sites it does not display the items of other siteid how can i fix it?
And also i want to ask about filters if i want to use f_name and not f_catid is it possible or use f_catid with array of ids?
Re: Fronteng get all site ids
Well, that requires some changes and separating the frontend and backend configuration. We will think about this a bit more and add it to the dev-master branch next week (I think, if nobody from the other developers objects).wassim.hattab wrote:I'm not talking about laravel,
in aimeos list page it's by default showing products from siteid 1 ,
if i have many sites it does not display the items of other siteid how can i fix it?
f_name is only for the user, f_catid is the value that is used to find the category. If I remember correctly, there was a change in the dev-master branch which allows to use an array of values for f_catid.wassim.hattab wrote:And also i want to ask about filters if i want to use f_name and not f_catid is it possible or use f_catid with array of ids?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Fronteng get all site ids
The dev-master branch of the Aimeos Laravel package contains now the possibility to add separate configuration settings for backend and frontend
To show products from all sites in the frontend, you have to add this to your Laravel ./config/shop.php:
To show products from all sites in the frontend, you have to add this to your Laravel ./config/shop.php:
Code: Select all
'frontend' => array(
'mshop' => array(
'common' => array(
'manager' => array(
'sitecheck' => 0
),
),
),
),
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star