* @copyright 2019 idnovate.com * @license See above */ class AdminCartRulesController extends AdminCartRulesControllerCore { public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false) { if (Module::isEnabled('quantitydiscountpro')) { $this->_where = 'AND a.id_cart_rule NOT IN (SELECT id_cart_rule FROM `'._DB_PREFIX_.'quantity_discount_rule_cart`)'; } parent::getList($id_lang, $order_by, $order_way, $start, $limit, $id_lang_shop); } }