gleb Posted June 23, 2010 Share Posted June 23, 2010 I hope anyone can help me with this. I am about to go live with my webshop and have a little problem.After I upgraded from 1.2.5 to 1.3.1, I can't enter voucher value when I make a new voucher. The amount(value) field doesn't show up when I select discount on order (amount). See picture.When I save the voucher it shows up in the list but it has no amount and it cannot be used. See second picture.I tested on my 1.2.5 backup install on localhost it works there. I also tried a fresh 1.3.1 install on localhost it works also. So it is not a bug in 1.3.1.Someone with a similar problem or any idea where to look to change this please help. Link to comment Share on other sites More sharing options...
rocky Posted June 24, 2010 Share Posted June 24, 2010 Most likely, it is caused by a failed upgrade. Are there any Javascript errors on the page? Check in the bottom-left corner for "Done, with errors" in IE. Click on it and post any errors.Did you save the SQL log when you upgraded? You can compare the structure of the database tables on the clean PrestaShop v1.3.1 installation to the upgraded one to make sure they match. Link to comment Share on other sites More sharing options...
gleb Posted June 24, 2010 Author Share Posted June 24, 2010 Thanks for the fast reply,I checked for errors with firebug and indeed it shows a javascript error. It is this error. displayFlags is not defined[break on this error] displayFlags(languages, id_language, 0); Link to comment Share on other sites More sharing options...
rocky Posted June 24, 2010 Share Posted June 24, 2010 That function is in js/admin.js. Make sure that the function exists in that file and that it has been uploaded correctly. Link to comment Share on other sites More sharing options...
gleb Posted June 24, 2010 Author Share Posted June 24, 2010 Thanks rocky solved my problem. I replaced the admin.js file with the original 1.3.1 prestashop and it worked. When I think back I was using the 1.2.5 js files I never replaced them with 1.3.1 folder. 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