Mattz Posted March 19, 2012 Share Posted March 19, 2012 Hi, I have used the 1.4.x branch a long time ago, I started a multishop enviroment using views on the usertable. Actually I didn't need multiple shops as I see now, as the new 1.5 Multishop Module also has a seperate order system and invoice system per shop. What I need is /shop1 /shop2 with a different theme, the same userbase and the same orders. For an example: /shop1 will only show fish /shop2 will only show fruits /shop3 will only show cars But with a different theme per /shopX Is there a way to accomplish this ? I hope someone can help out. Cheers, Matt Link to comment Share on other sites More sharing options...
PresaExpert Posted March 19, 2012 Share Posted March 19, 2012 Hello, Yes there is a possibility for it, but it will need some changes in the system. According to your details shop1 will be showing Fish, so lets cosidner shop 1 is your default shop and it is using theme 1. Now you need shop2 to show only fruits category products with a different theme, so install your prestashop on a different domain on the same server, after that modify your settings.inc.php file and change the theme name _THEME_NAME_ to your desinred theme names say theme 2, and similarly follow the same steps for shop 3. Please note that all three shops will be on same server but can be on same domain with sub folders or all of theme will be on different domains. Also all these sites will be using same database. Now here some problems will arise mainly 1) How to set the base urls of the different shops because prestashop is storing shop url in database? 2) How to take only the desired categories from the default shop? These two main problems will need changes in the system and will be very complex and buggy. May be the above theory will help. Thank you Link to comment Share on other sites More sharing options...
brandonc503 Posted March 19, 2012 Share Posted March 19, 2012 what if each save to the database about invoice and cms, write to two databases at once Link to comment Share on other sites More sharing options...
brandonc503 Posted March 19, 2012 Share Posted March 19, 2012 what will happen when person logs in? are they gana see theme for shop they signed up in? Link to comment Share on other sites More sharing options...
Mattz Posted March 20, 2012 Author Share Posted March 20, 2012 Most things are able to do using views. What I don't like is that you have multiple backend for the administrator, I would like to have one as in 1.5 A conversion to 1.5 is no big deal also... you can just place all the view tables in the direct shop DB, run the upgrade per shop and make the views back as they were. I wonder why Presta didn't think about one invoice and one order system if needed. Link to comment Share on other sites More sharing options...
El Patron Posted May 12, 2012 Share Posted May 12, 2012 it's a simple matter to swap the theme, while it's bad coding form to re-define a define...you get a notice.... simply change (re-define) the define for theme at run time to whatever theme you want to display. prestatools has a module that does this. Link to comment Share on other sites More sharing options...
Recommended Posts