// Toolbar modif for products
This commit is contained in:
@@ -262,6 +262,7 @@
|
||||
<input type="hidden" name="id_product_attribute" id="id_product_attribute" value="0" />
|
||||
<input type="hidden" name="key_tab" id="key_tab" value="Informations" />
|
||||
<button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-primary"> {l s='Save'}</button>
|
||||
{include file="footer_toolbar.tpl"}
|
||||
</form>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
@@ -2530,7 +2530,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
|
||||
if ($this->display != 'list')
|
||||
if (($product = $this->loadObject(true)) && Validate::isLoadedObject($product))
|
||||
$this->toolbar_title[] = Tools::htmlentitiesUTF8($this->product_name);
|
||||
$this->toolbar_title[] = Tools::htmlentitiesUTF8($product->name[$this->context->employee->id_lang]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user