Fixed: The add new button disappear display type is not empty

This commit is contained in:
vishalsingh.qlo325
2024-09-25 10:43:26 +05:30
parent 589dd8305f
commit 2041f7a53b
43 changed files with 44 additions and 44 deletions

View File

@@ -130,7 +130,7 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
public function initPageHeaderToolbar()
{
if (empty($this->display)) {
if ($this->display != 'edit' && $this->display != 'add' && $this->display !='view') {
$this->page_header_toolbar_btn['new_specific_price_rule'] = array(
'href' => self::$currentIndex.'&addspecific_price_rule&token='.$this->token,
'desc' => $this->l('Add new catalog price rule', null, null, false),