[+] BO : Page header toolbar
This commit is contained in:
@@ -93,6 +93,18 @@ class AdminCartsControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
$this->page_header_toolbar_title = $this->l('Carts');
|
||||
$this->page_header_toolbar_btn['export_cart'] = array(
|
||||
'href' => self::$currentIndex.'&exportcart&token='.$this->token,
|
||||
'desc' => $this->l('Export carts'),
|
||||
'icon' => 'process-icon-export'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
public function renderView()
|
||||
{
|
||||
if (!($cart = $this->loadObject(true)))
|
||||
|
||||
Reference in New Issue
Block a user