preProcess(); if(Tools::getValue('proceed')) { $cart->delete(); Tools::redirect(Tools::getValue('next', '')); exit; } else { require_once(dirname(__FILE__).'/../../header.php'); $smarty->assign(array( 'back' => Tools::getValue('back', ''), 'next' => Tools::getValue('next', ''), )); echo Module::display(dirname(__FILE__), 'salechange.tpl'); require_once(dirname(__FILE__).'/../../footer.php'); }