[*] FO : combination link from product page are now the same as the combination link from blocklayered

// Cart is now accepting the combination link

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10028 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-11-10 10:45:19 +00:00
parent 58a1a5b919
commit 568327849c
10 changed files with 261 additions and 45 deletions
+2 -1
View File
@@ -375,7 +375,8 @@ class ProductControllerCore extends FrontController
{
$attributes_combinations = Product::getAttributesInformationsByProduct($this->product->id);
foreach ($attributes_combinations as &$ac)
$ac = array_map('Tools::str2url', $ac);
foreach ($ac as &$val)
$val = str_replace('-', '_', Tools::link_rewrite($val));
$this->context->smarty->assign('attributesCombinations', $attributes_combinations);
}