bebeboutik/modules/privatesales/salechange.php

22 lines
547 B
PHP
Raw Normal View History

2016-01-04 12:49:26 +01:00
<?php
require_once(dirname(__FILE__).'/../../config/config.inc.php');
require_once(dirname(__FILE__).'/../../init.php');
$controller->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');
}