// #PSTEST-1229 - make sure you cannot select virtual product if you have combinations
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14857 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -2184,6 +2184,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
|
||||
$this->tpl_form_vars['upload_max_filesize'] = $upload_max_filesize;
|
||||
$this->tpl_form_vars['country_display_tax_label'] = $this->context->country->display_tax_label;
|
||||
$this->tpl_form_vars['has_combinations'] = $this->object->hasAttributes();
|
||||
|
||||
// let's calculate this once for all
|
||||
if (!Validate::isLoadedObject($this->object) && Tools::getValue('id_product'))
|
||||
|
||||
Reference in New Issue
Block a user