// removing ajaxProcess, now useless because the process doesn't need ajax anymore

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9483 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-10-20 08:04:41 +00:00
parent aae41922b5
commit 7cbd4c20f2
-22
View File
@@ -97,23 +97,6 @@ class ProductControllerCore extends FrontController
}
}
public function ajaxProcess()
{
if (Tools::getValue('getAttributesParams'))
{
$product_id = Tools::getValue('id_product');
$ipa = Tools::getValue('ipa');
$tab_params = Product::getAttributesParams($product_id, $ipa);
foreach ($tab_params as &$param)
$param = array_map('Tools::str2url', $param);
die(Tools::jsonEncode($tab_params));
}
if (Tools::getValue('couleur'))
{
d('cc');
}
}
/**
* Assign template vars related to page content
* @see FrontController::initContent()
@@ -398,11 +381,6 @@ class ProductControllerCore extends FrontController
$attribute_list = rtrim($attribute_list, ',');
$combinations[$id_product_attribute]['list'] = $attribute_list;
}
// if we need to display a combination and not a single product
/*if (true)
{
}*/
$this->context->smarty->assign(array(
'groups' => $groups,
'combinaisons' => $combinations, /* Kept for compatibility purpose only */