From 7cbd4c20f2ae882a1d4bfdc8fda4b663754d5f7e Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 20 Oct 2011 08:04:41 +0000 Subject: [PATCH] // 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 --- controllers/front/ProductController.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index d2c8fdf74..67b0d3132 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -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 */