Fix custom code must be visible only for products
This commit is contained in:
parent
329bdfc9fd
commit
b72123e7ec
@ -1008,7 +1008,7 @@ else
|
||||
}
|
||||
|
||||
// Custom code
|
||||
if (empty($conf->global->PRODUCT_DISABLE_CUSTOM_INFO))
|
||||
if (empty($conf->global->PRODUCT_DISABLE_CUSTOM_INFO) && empty($type))
|
||||
{
|
||||
print '<tr><td>'.$langs->trans("CustomCode").'</td><td><input name="customcode" size="10" value="'.GETPOST('customcode').'"></td>';
|
||||
// Origin country
|
||||
|
||||
Loading…
Reference in New Issue
Block a user