22 lines
377 B
PHP
22 lines
377 B
PHP
<?php
|
|
if (!defined('_PS_VERSION_'))
|
|
exit;
|
|
|
|
class BlockCartOverride extends BlockCart
|
|
{
|
|
public function install()
|
|
{
|
|
if (parent::install() == false
|
|
|| $this->registerHook('endBody') == false)
|
|
return false;
|
|
return true;
|
|
}
|
|
|
|
public function hookendBody($params)
|
|
{
|
|
$this->assignContentVars($params);
|
|
return $this->display(__FILE__, 'blockcart_footer.tpl');
|
|
}
|
|
|
|
}
|