6sto Posted August 15, 2017 Share Posted August 15, 2017 Hi. I have a slight problem with my scenario. I have two different Prestashops in same domain. The main shop is in the root foldet and the reseller shop is in the reseller_new folder. Now some overrides from the main shops effect also the reseller shop (override.css) and I can not change reseller shop's background etc. Could you, please, give me a hint how to configure this correctly. Thanks. Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 (edited) It would be helpful to get some more information: - Which prestashop version is in use - What is override.css? I haven't hear from such a file. What is the path to this file - Can you provide both shop URLs? From a simple technical view, I wouldn't prefere this setup, even whan it might run after some troubleshooting. Why not? PrestaShop uses .htaccess rules to provide friendly urls and also resolve image file names. And .htaccess works the way that all rules from the top level file also apply to all subdirectories unless you have another .htaccess in the subdirectory which overrides the root. Getting in conflict with such a setup is quite easy. If one rule is missing in a subdir, the rules from root take effect. Hence, I'd always use the following setup: Shop 1 Install path: /shop1, URL: domain.com - URL path / Shop 2 Install path: /shop2, URL: domain.com - URL path: /shop2 This way you still have one shop in root and one beneath root but with complete different directories which do not affect themselfes. Edited August 15, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 Sure. Versions are 1.6.1.6. (The reseller shop is a copy from the main shop -> settings have been changed - I hope) The main store is in https://tuisa.fi domain and the other is in https://tuisa.fi/reseller_new/ folder (that is password protected at the moment). Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 We also needed to see shop in your subdirectory. Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 I sent you this info with a direct message. Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 I'd like to solve the issue here in the forum. I don't look at private messages at all. The forums goal is to help others with similar issues. It doesn't help them when we deal with private messages. And btw: Why password protection? Only during tests? You could also disable price display if this is the main concern. Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 reseller/reseller1234 Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 (edited) One example. This link does not work. There are some redirecting configurations somewhere... https://tuisa.fi/reseller_new/modules/download/Tilausehdotjalleenmyyjille.pdf Edited August 15, 2017 by 6sto (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 Or use the multishop option from PrestaShop. This would be a good approach if you wan't to maintain different shops with different thems / designs but have most of your products available in both shops. Then you have to maintain only one core in terms of maintenance and upgrades. Or even more simple: have one shop and assign a special customer group to resellers with a special discount rate. Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 Thank you for your quick answers and this suggestion. This is not our solution this time. Prices are "random" so we can't do this. Maybe it is easiest to get another domain for the reseller shop? Or what do you think? Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 The override.css might come from some hard coded settings in your theme. The CSS linked to isn't set the at the place where it should be. /themes/tuisafi/css/override.css I'd start to open header.tpl and investigate there. If you still want to maintain to shops. But it is also possible it comes from somewhere else overrided code. Probably you'd explain why two shops are needed? Link to comment Share on other sites More sharing options...
Scully Posted August 15, 2017 Share Posted August 15, 2017 You can still have "random" prices with multi shop. However, I'd use a different setup as explained in my first post. Link to comment Share on other sites More sharing options...
6sto Posted August 15, 2017 Author Share Posted August 15, 2017 OK. Thank you for your help. We'll have to think this through. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now