bilal2005 Posted April 21, 2015 Share Posted April 21, 2015 hey again, I do a new attributs combinition in prestashop 1.6 I need to get value all of this atributes and stock in array for calcule specail of price . so my problem how can I get the value of all this attributs I read there method getAttributeCombinations bt when I can use that in my module or override the class product or productlist ?? thanks Link to comment Share on other sites More sharing options...
kishoreunni Posted April 22, 2015 Share Posted April 22, 2015 I think u should do the following things in ur specific tpl file: inside javascript u should the following:- combID = $('#idCombination').val(); combination = combinationsFromController[combID]; alert(combination.price); and also put this {addJsDef attributesCombinations=$attributesCombinations} the combination.price is having the value of attribute combination. Hope it may help u Link to comment Share on other sites More sharing options...
Recommended Posts