renjii Posted October 16, 2014 Share Posted October 16, 2014 Hi I'm having problem with the Manufacturers block drop down on my page. When I select one of the manufacturer from the drop down it doesn't return anything it's just idle. I've try disable and enable the module but still no luck. I've also change the code to <select id="manufacturer_list" class="form-control" onchange="autoUrl('manufacturer_list', '');"> But it still not working Prestashop Version 1.6 Here's the link to my page http://www.primocollectibles.com/shop/en/ Link to comment Share on other sites More sharing options...
NemoPS Posted October 17, 2014 Share Posted October 17, 2014 Try something different, instead of this in global.js $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function(){ autoUrl($(this).attr('id'), ''); }); Try with $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function() { if (this.value != '') location.href = this.value; }); Link to comment Share on other sites More sharing options...
renjii Posted October 19, 2014 Author Share Posted October 19, 2014 Try something different, instead of this in global.js $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function(){ autoUrl($(this).attr('id'), ''); }); Try with $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function() { if (this.value != '') location.href = this.value; }); Hi Nemo Thank you for your assistance. I tried to change what to what you have suggested but still no luck Link to comment Share on other sites More sharing options...
NemoPS Posted October 20, 2014 Share Posted October 20, 2014 No? O.o Mysterious. try with a simple alert in the change trigger Link to comment Share on other sites More sharing options...
renjii Posted October 26, 2014 Author Share Posted October 26, 2014 No? O.o Mysterious. try with a simple alert in the change trigger Hi Nemo what do you mean by a simple alert in the change trigger? Any example ? Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted October 27, 2014 Share Posted October 27, 2014 Here $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function() { alert('boo!'); }); Link to comment Share on other sites More sharing options...
MusikMachineMan Posted November 14, 2014 Share Posted November 14, 2014 Hi Nemo1 Try something different, instead of this in global.js $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function(){ autoUrl($(this).attr('id'), ''); }); Try with $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function() { if (this.value != '') location.href = this.value; }); Thanks for your help, i'm getting the same error as rejii, but in my global.js it's already corrected with your proposal (i'm on 1.6.0.6) Here $(document).on('change', 'select[name=manufacturer_list], select[name=supplier_list]', function() { alert('boo!'); }); I also tried this, but there were no changes. I do not know what to do... Many thanks if you had another idea of what it could come from and an idea to solve it Regards Link to comment Share on other sites More sharing options...
NemoPS Posted November 15, 2014 Share Posted November 15, 2014 No "boo!" message alerting? can you check if the file is showing those modification in the browser's console?M<ake sure you disable all caching options, clear cache itself and any cdn you might be running (or apc, xcache, etc) 1 Link to comment Share on other sites More sharing options...
MusikMachineMan Posted November 17, 2014 Share Posted November 17, 2014 I really can't explain why, but still this morning, it works well without any changing... many thanks anyway for your help Nemo1 Link to comment Share on other sites More sharing options...
MusikMachineMan Posted November 26, 2014 Share Posted November 26, 2014 I notice that on my PC, it works correctly but on the mobile version, there's still a bug, the drop down disappear immediatly, so impossible to select a manufacturer in the list !! Link to comment Share on other sites More sharing options...
Recommended Posts