/classes/Cart.php
/override/classes/Cart.php
return $this->installOverride('classes/Cart.php') && $this->installOverride('controllers/front/ProductController.php');
public function initToolbar() parent::initToolbar(); $this->toolbar_btn['custom_export'] = [ 'href' => self::$currentIndex.'&token='.$this->token.'&export_custom=1', 'desc' => $this->l('Custom Export', null, null, false), 'class' => 'btn btn-primary' ];
// Temporarily add at top of your override file if (!defined('_PS_VERSION_')) exit;
<?php // override/modules/blockreassurance/controllers/front/AdditionalProductTabController.php class BlockreassuranceAdditionalProductTabController extends BlockreassuranceAdditionalProductTabControllerCore
public function installOverrides()