aptivus Posted March 23, 2016 Share Posted March 23, 2016 Hello everyone, we have a 1.6 version of Prestashop running smoothly. We have recently activated the multi shop feature in order to have a B2B shop as well. What we are trying to achieve is to have $customer->active = 0; in the controllers/front/AuthController.php. That should disable the default behaviour, but it will disable it for the B2C shop as well. That cannot happen. I was looking for a variable "id_shop" to use as conditional selector, so if id_shop == 2 (where 2 is b2b), than $customer->active = 0; else $customer->active = 1; Unfortunately, I found none. Any help? Thank you very much. Link to comment Share on other sites More sharing options...
marlon Posted August 4, 2016 Share Posted August 4, 2016 alguien tiene una manual de la forma mas adecuada de desarrollar la configuracion multi-tienda con b2b y b2c Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2016 Share Posted August 6, 2016 This module may help, you can install and for one or more multishop https://www.prestashop.com/forums/topic/149628-module-hide-prices-private-shop-authorized-client-shopping-only/ 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