bpmobarak Posted February 10, 2014 Share Posted February 10, 2014 (edited) I have a newly created prestashop store. But i face the problem when I create product combinations with up to 18 options and up to 150 values for 1 product. When I go to for create "Combinations Generator" and added all options values and click on "Generate these Combinations" RETURN ME blank page. also i am increase (memory, execution time etc.. for big query run). Please check attachment need to create combination this all for 1 product. Is it possible with prestashop? Can you please any solution or idea. Thanks, Mubarak Edited February 10, 2014 by bpmobarak (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 it mean that your host hasn't got enough resources to generate combinations. unfortunately, if you use a lot of attributes, while genereration of combinations - this process consume a lot of resources... what is an alternative? attribute wizard pro addon Link to comment Share on other sites More sharing options...
bpmobarak Posted February 11, 2014 Author Share Posted February 11, 2014 it mean that your host hasn't got enough resources to generate combinations. unfortunately, if you use a lot of attributes, while genereration of combinations - this process consume a lot of resources... what is an alternative? attribute wizard pro addon Thanks for reply, Attribute Wizard Pro is $150 but I don't have enough budget. I will discuss with my client... Thank you Link to comment Share on other sites More sharing options...
vekia Posted February 11, 2014 Share Posted February 11, 2014 well, that's right, but you have to choice between: - select better hosting (paid more monthly/year) - attribute wizard pro (paid once) 1 Link to comment Share on other sites More sharing options...
jlennon1863 Posted November 9, 2014 Share Posted November 9, 2014 I added product attributes (just two options) I then went to the "combination generator" in the the product, highlighted the options that I wanted , and clicked 'add' and nothing happens. I tried it numerous times in different browsers. I changed the cache settings and still nothing. I scrolled to the bottom of the page and clicked 'generate these combinations' but it keeps telling me to add the options first. Any help with this is appreciated Link to comment Share on other sites More sharing options...
vekia Posted November 10, 2014 Share Posted November 10, 2014 hello if you use chrome press ctrl+shift+j and try to add these attributes do you see some js errors in browser console log output? Link to comment Share on other sites More sharing options...
jlennon1863 Posted November 10, 2014 Share Posted November 10, 2014 Hi. Thanks for your reply. I don't have chrome installed. I have Firefox, Explorer and AOL. I tried each of them and the same thing happens. I am able to add the attributes individually but thats too time consuming. I don't see any errors at all . I highlight each option then click 'add' and nothing happens. I tried to scroll to the buttom and save and it says I need to add options first. I also tried logging in the non secure mode and still nothing. Should I check some settings? Link to comment Share on other sites More sharing options...
jlennon1863 Posted November 11, 2014 Share Posted November 11, 2014 Hi, I installed chrome and pressed those buttons and I got the following error message: uncaught SyntaxError: Unexpected token ILLEGAL index.php:781 8Uncaught ReferenceError: i18n_tax_exc is not defined attributesBack.js:126 Link to comment Share on other sites More sharing options...
David Eschmeyer Posted November 20, 2014 Share Posted November 20, 2014 (edited) jlennon this is because it is some upgrade from 1.4 issue i believe. For one site i edited /js/attributesBack.js find the function: function create_attribute_row(id, id_group, name, price, weight) there is an html block... for me in the file from 1.6.0.9 this block to comment out is lines 126 to the end of 128, add the red below 126 -> /* html += '<td>'+i18n_tax_exc+'<input id="related_to_price_impact_ti_'+id+'" class="price_impact" style="w... 128 -> ...me="price_impact_ti_'+id+'" onkeyup="calcPrice($(this), true)"></td>'; */ then next time you try the generator will work, however if any have a price or weight impact, you will have to put it in after generating the combos... manually 1 at a time. Price impact works on frontend. Edited November 20, 2014 by David Eschmeyer (see edit history) 1 Link to comment Share on other sites More sharing options...
jlennon1863 Posted November 20, 2014 Share Posted November 20, 2014 You, Sir, are my hero! Those instructions worked like a charm. Thank you for taking the time . I'm sure there are others having the same problem. jlennon this is because it is some upgrade from 1.4 issue i believe. For one site i edited /js/attributesBack.js find the function: function create_attribute_row(id, id_group, name, price, weight) there is an html block... for me in the file from 1.6.0.9 this block to comment out is lines 126 to the end of 128, add the red below 126 -> /* html += '<td>'+i18n_tax_exc+'<input id="related_to_price_impact_ti_'+id+'" class="price_impact" style="w... 128 -> ...me="price_impact_ti_'+id+'" onkeyup="calcPrice($(this), true)"></td>'; */ then next time you try the generator will work, however if any have a price or weight impact, you will have to put it in after generating the combos... manually 1 at a time. Price impact works on frontend. Link to comment Share on other sites More sharing options...
David Eschmeyer Posted November 25, 2014 Share Posted November 25, 2014 You, Sir, are my hero! Those instructions worked like a charm. Thank you for taking the time . I'm sure there are others having the same problem. jlennon this is because it is some upgrade from 1.4 issue i believe. For one site i edited /js/attributesBack.js find the function: function create_attribute_row(id, id_group, name, price, weight) there is an html block... for me in the file from 1.6.0.9 this block to comment out is lines 126 to the end of 128, add the red below 126 -> /* html += '<td>'+i18n_tax_exc+'<input id="related_to_price_impact_ti_'+id+'" class="price_impact" style="w... 128 -> ...me="price_impact_ti_'+id+'" onkeyup="calcPrice($(this), true)"></td>'; */ then next time you try the generator will work, however if any have a price or weight impact, you will have to put it in after generating the combos... manually 1 at a time. Price impact works on frontend. It turns out that you can simply delete '+i18n_tax_exc+' and '+i18n_tax_inc+' with the single quote (') included... it is merely this translation that isn't substituting in... then the generator works with the price impacts as well. html += '<td>'+i18n_tax_exc+'<input id="related_to_price_impact_ti_'+id+'" class="price_impact" style="width:50px" type="text" value="'+price+'" name="price_impact_'+id+'" onkeyup="calcPrice($(this), false)"></td>'; and html += '<td>'+i18n_tax_inc+'<input id="related_to_price_impact_'+id+'" class="price_impact_ti" style="width:50px" type="text" value="" name="price_impact_ti_'+id+'" onkeyup="calcPrice($(this), true)"></td>'; Link to comment Share on other sites More sharing options...
Recommended Posts