AbanteCart Community
AbanteCart Development => Extensions and Add-Ons => Topic started by: natdroid on May 11, 2016, 01:43:28 AM
-
Is there any variable or function I can use to check if the page the user is viewing is the front page?
-
do you mean case when $this->request->get['rt'] == 'index/home' or empty ?
-
Let me clarify.
User is person managing store. So you ned to see if they are on the storefront side?
You can use:
if(IS_ADMIN === false) {
...
}
-
I need load code in header storfront homepage before all blocks load