// Module changes for new native template
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10093 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
612e8d7680
commit
5553d55063
10 files changed
+293
-171
No files matched your search
@@ -146,7 +146,7 @@ class BlockCart extends Module
|
||||
if
|
||||
(
|
||||
parent::install() == false
|
||||
OR $this->registerHook('rightColumn') == false
|
||||
OR $this->registerHook('top') == false
|
||||
OR $this->registerHook('header') == false
|
||||
OR Configuration::updateValue('PS_BLOCK_CART_AJAX', 1) == false
|
||||
)
|
||||
@@ -188,5 +188,10 @@ class BlockCart extends Module
|
||||
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')))
|
||||
$this->context->controller->addJS(($this->_path).'ajax-cart.js');
|
||||
}
|
||||
|
||||
public function hookTop($params)
|
||||
{
|
||||
return $this->hookRightColumn($params);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user