scarlet31 Posted January 17, 2017 Share Posted January 17, 2017 (edited) I have a problem with my save and save & stay buttons on products, where they just keep loading forever and won't allow me to save anything! Console log gives me this error, not sure if it's related or not: Uncaught TypeError: $(...).typeahead is not a function at HTMLDocument.eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:5:55) at j (jquery-1.11.0.min.js:2) at Object.add [as done] (jquery-1.11.0.min.js:2) at e.fn.init.n.fn.ready (jquery-1.11.0.min.js:2) at eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:2:14) at eval (<anonymous>) at jquery-1.11.0.min.js:2 at Function.globalEval (jquery-1.11.0.min.js:2) at e.fn.init.domManip (jquery-1.11.0.min.js:3) at e.fn.init.append (jquery-1.11.0.min.js:3)Do you guys know a fix for this? EDIT: FIXED! Just update prestashop backoffice Edited January 17, 2017 by scarlet31 (see edit history) 1 Link to comment Share on other sites More sharing options...
Press ta chope Posted March 14, 2017 Share Posted March 14, 2017 Hello, i have the same problem, did you find any issue ? Link to comment Share on other sites More sharing options...
peggy king Posted April 25, 2017 Share Posted April 25, 2017 I wish someone at PS would address this. It is obviously a known bug because many people report the same problem. It is infuriating. I am not a coder and I don't know .html and I need a simple solution to this. Link to comment Share on other sites More sharing options...
peggy king Posted April 25, 2017 Share Posted April 25, 2017 (edited) what do you mean "Updated PS backoffice"? as a fix. How? And is it sill working properly? Edited April 25, 2017 by peggy king (see edit history) Link to comment Share on other sites More sharing options...
koporc Posted April 28, 2017 Share Posted April 28, 2017 You can check this tutorial: http://prestamania.com/prestashop-back-office-bug-not-saving-everytime/ I think this is the problem you are reffering to. 2 Link to comment Share on other sites More sharing options...
peggy king Posted April 28, 2017 Share Posted April 28, 2017 thank you for the very informative link, koporc. I am saving this link for future possible use. I can report that I have updated my PS from 1.6.1.3 to 1.6.1.13 . I didn't have any hint of the problem the next time I listed items. I am watching it, though, in case I start having problems again. Then I will check out your link. If this is, indeed the answer to the problem, it would help a bunch of folks if you also posted it in answer to some of the other threads where this is the topic of discussion. 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted March 17, 2018 Share Posted March 17, 2018 Hi there, I don't know if you still are here on prestashop forum but have informations how to fix this annoying prestashop bug. Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/ There you will find .tpl files for each tab from product page (Informations, Price, Shipping, Feature, Images etc) Open first informations.tpl file , search and delete this: disabled="disabled" and then next of that find <i class="process-icon-loading"> and change "loading" to "save". That code need to looks like <i class="process-icon-save"> You have to do that twice at each file you edit. 1. for Save and stay button and 2. for Save button. Repeat that in each file for each tab. You can thanks me later 1 Link to comment Share on other sites More sharing options...
jesad2004 Posted June 26, 2018 Share Posted June 26, 2018 On 17/3/2018 at 3:30 PM, ZikmaSolutions said: Hi there, I don't know if you still are here on prestashop forum but have informations how to fix this annoying prestashop bug. Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/ There you will find .tpl files for each tab from product page (Informations, Price, Shipping, Feature, Images etc) Open first informations.tpl file , search and delete this: disabled="disabled" and then next of that find <i class="process-icon-loading"> and change "loading" to "save". That code need to looks like <i class="process-icon-save"> You have to do that twice at each file you edit. 1. for Save and stay button and 2. for Save button. Repeat that in each file for each tab. You can thanks me later Hi ZikmaSolutions Thanks for that solution, It works but just solves the 'save button' loop problem. In fact, the bug still shows up in the console. I attach my console error. I can't find why this happens PD: Sorry for my english Thanks, regards!! Link to comment Share on other sites More sharing options...
mar_k7 Posted November 1, 2018 Share Posted November 1, 2018 Hello, Thanks for your solution (ZikmaSolutions), it works , with only one exception : specific prices not working..the same spinning button. If you have any suggestion it would be great. Link to comment Share on other sites More sharing options...
Marko2387 Posted February 1, 2019 Share Posted February 1, 2019 @scarlet31 I found a twik, it's not the best fix because you gonna skip the validation, be smart when you enter data and that will be correct. You need to edit some files in the repository: /your_admin_repo/themes/default/template/controllers/products The files is: associations.tpl attachments.tpl combinations.tpl customization.tpl features.tpl images.tpl informations.tpl prices.tpl quantities.tpl seo.tpl shipping.tpl (be carefull theire is 2 occurences in this file) suppliers.tpl virtualproduct.tpl warehouses.tpl You need to delete the disabled initial state on the button. You need to edit all files because this is the themplate of admin products. Find and replace! Enjoy <!-- Modification de masirois (iXmédia) Version 1.6.1.23 erreur de validation button "save" et "save and stay" loadaient sans fin. Code original commanté plus bas. --> <button type="submit" name="submitAddproduct" class="btn btn-default pull-right"><i class="process-icon-save"></i>{l s='Save'}</button> <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right"><i class="process-icon-save"></i>{l s='Save and stay'}</button> <!-- <button type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i></i> {l s='Save'}</button> <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> {l s='Save and stay'}</button> --> Link to comment Share on other sites More sharing options...
Tomas Contos Posted March 27, 2019 Share Posted March 27, 2019 Guys check your browser console, if you see error with file tinymce.inc.js then you need to duplicate file with different name. Check whole Prestashop and search for word tinymce.inc.js in code. Change it to new name, but keep eye on what you changing. It is only on few places in code, unless you have loads of moduels using tinyMCE installed. After you install/upgrade module, make sure it is pointing on duplicate file of tinymce.inc.js . Duplicate file must be different name. Link to comment Share on other sites More sharing options...
vjnunes Posted March 10, 2022 Share Posted March 10, 2022 Hi Guys, For Prestashop 1.6 in /admin/themes/default/template/controllers/products/helpers/form/form.tpl, delete code: submitHandler: function(form) { form.submit(); } If problem persists, you have to upgrade your PHP version. In my case from 1.5.6 to 1.7 I have Prestashop 1.6.1.24 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now