// removing cookie from product customization

This commit is contained in:
tDidierjean
2011-07-21 14:38:04 +00:00
parent 5e3d0882ad
commit a264942b1a
48 changed files with 421 additions and 348 deletions
+5 -5
View File
@@ -47,7 +47,7 @@ class AddressesControllerCore extends FrontController
public function process()
{
parent::process();
$context = Context::getContext();
$multipleAddressesFormated = array();
$ordered_fields = array();
$customer = $context->customer;
@@ -56,7 +56,7 @@ class AddressesControllerCore extends FrontController
die(Tools::displayError('Customer not found'));
// Retro Compatibility Theme < 1.4.1
$this->smarty->assign('addresses', $customer->getAddresses($context->language->id));
self::$smarty->assign('addresses', $customer->getAddresses($context->language->id));
$customerAddressesDetailed = $customer->getAddresses($context->language->id);
@@ -81,7 +81,7 @@ class AddressesControllerCore extends FrontController
if (($key = array_search('Country:name', $ordered_fields)))
$ordered_fields[$key] = 'country';
$this->smarty->assign('addresses_style', array(
self::$smarty->assign('addresses_style', array(
'company' => 'address_company'
,'vat_number' => 'address_company'
,'firstname' => 'address_name'
@@ -95,7 +95,7 @@ class AddressesControllerCore extends FrontController
,'alias' => 'address_title'
));
$this->smarty->assign(array(
self::$smarty->assign(array(
'multipleAddresses' => $multipleAddressesFormated,
'ordered_fields' => $ordered_fields));
}
@@ -103,7 +103,7 @@ class AddressesControllerCore extends FrontController
public function displayContent()
{
parent::displayContent();
$this->smarty->display(_PS_THEME_DIR_.'addresses.tpl');
self::$smarty->display(_PS_THEME_DIR_.'addresses.tpl');
}
}