Jump to content

 

hipe

Member Since 17 Apr 2014
Offline Last Active Nov 11 2016 08:33 AM
-----

Posts I've Made

In Topic: Hiding Product tabs in Admin

11 November 2016 - 08:26 AM

Perfect, thanks it works like that :grin:  


In Topic: Hiding Product tabs in Admin

11 November 2016 - 08:12 AM

I am running MV 4.3.10 and amended products.php like before....this means

 

if ($auth.user_type=="A"){ //tabs for admin
tabs for admin
}
else //do not show all tabs
{

tabs for vendors
} 

 

Now I am getting the warning....

 

Notice: Use of undefined constant user_type - assumed 'user_type' in app/controllers/backend/products.php on line 502

 

Anyone an idea how to solve this?