mauroagr Posted October 8, 2018 Posted October 8, 2018 Dear, i am making a override from carrier, but in then i will check if the load is from front office, or backoffice. How i can get this information in override? Thanks Mauro
datakick Posted October 9, 2018 Posted October 9, 2018 You can simply check if _PS_ADMIN_DIR_ is defined. Alternatively, you can look what controller is currently in use - Context::getInstance()->controlller. Can I ask what you are trying to achieve? It seems really strange that the logic override should behave differently for backed/frontend
mauroagr Posted October 10, 2018 Author Posted October 10, 2018 i solve it....context, the variable controller_type. Thanks Mauro
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