Page 1 of 1

Multiple Shops

Posted: 10 Apr 2015, 06:25
by alpin3rocker
Hello,

In the Aimeos Documentations are described how to setup more than one Shop.
Do i need a further Extension to manage a second shop like described here?
http://aimeos.org/docs/User_Manual/Admi ... with_sites
Furthermore, the we also offer an extension which enables you to add sub-shops that inherit products, categories, pictures, texts, etc. from a parent instance and you can even add more sites to these sub-shops without any restrictions in depth. This is perfect for market places or resellers.
Or what should i do? because something is going wrong if i try like described.
http://aimeos.org/docs/TYPO3/Configure_multiple_shops

Thank you!

Re: Multiple Shops

Posted: 10 Apr 2015, 08:40
by aimeos
alpin3rocker wrote: In the Aimeos Documentations are described how to setup more than one Shop.
Do i need a further Extension to manage a second shop like described here?
No that's not necessary if your shops are independent.
alpin3rocker wrote: Or what should i do? because something is going wrong if i try like described.
http://aimeos.org/docs/TYPO3/Configure_multiple_shops
The setup of an additional shop is a little bit tricky. Could you please try the following:
* Rename your "default" site code to something else
* Go to the extension manager and click on the update button of the Aimeos web shop extension so it creates a new "default" site with all required database entries
* Now you can rename your new site code and the "default" site code again to their final names
* Your TS setup is OK as far as I can see but you also need to set the site code in the PageTS config as well (http://aimeos.org/docs/TYPO3/Configure_multiple_shops)

If it works for you too I will update the documentation.

Re: Multiple Shops

Posted: 11 Apr 2015, 06:23
by alpin3rocker
Hello,
* Rename your "default" site code to something else
i renamed it in "pending"
* Go to the extension manager and click on the update button of the Aimeos web shop extension so it creates a new "default" site with all required database entries
i did this and get a third new "default" shop/site at the locale section in the Manager
* Now you can rename your new site code and the "default" site code again to their final names
i renamed the new third shop from "default" to "test" and the "pending" back to "default"
* Your TS setup is OK as far as I can see but you also need to set the site code in the PageTS config as well (http://aimeos.org/docs/TYPO3/Configure_multiple_shops)
Yes that was made.
If it works for you too I will update the documentation.
It doesn't work. Something is still going wrong.
from the Log:

Code: Select all

Core: Error handler (FE): PHP Catchable Fatal Error: Argument 7 passed to Controller_Frontend_Basket_Default::addProduct() must be of the type array, string given, called in /schgbjxd/www.domain.at/typo62/typo3conf/ext/aimeos/Resources/Libraries/arcavias/arcavias-core/controller/frontend/src/Controller/Frontend/Basket/Default.php on line 649 and defined in /schgbjxd/www.domain.at/typo62/typo3conf/ext/aimeos/Resources/Libraries/arcavias/arcavias-core/controller/frontend/src/Controller/Frontend/Basket/Default.php line 85 
What else can i trie?

Thank you

Re: Multiple Shops

Posted: 11 Apr 2015, 09:36
by aimeos
alpin3rocker wrote: It doesn't work. Something is still going wrong. from the Log:

Code: Select all

Core: Error handler (FE): PHP Catchable Fatal Error: Argument 7 passed to Controller_Frontend_Basket_Default::addProduct() must be of the type array, string given, called in /schgbjxd/www.domain.at/typo62/typo3conf/ext/aimeos/Resources/Libraries/arcavias/arcavias-core/controller/frontend/src/Controller/Frontend/Basket/Default.php on line 649 and defined in /schgbjxd/www.domain.at/typo62/typo3conf/ext/aimeos/Resources/Libraries/arcavias/arcavias-core/controller/frontend/src/Controller/Frontend/Basket/Default.php line 85 
That's not related to setting up multiple shops. Instead, it seems I've missed a line when trying to migrate ordered products between sites. Can you please update the core and try again?

Thanks

Re: Multiple Shops

Posted: 11 Apr 2015, 10:34
by aimeos
I've talked to the others and we were able to add the possibility to create and update arbitrary sites from within the Extension Manager. You need the latest TYPO3 and Core code to get this working.

In the Extension Manager, click on the Aimeos web shop extension and enter in the input field for the "Site code" your new string value (e.g. booking). Save the configuration and click on the "Update" button of the Aimeos web shop extension. This will create a new or update an existing site with the name you've entered into the input field.

That should ease things a lot in the future :-)