Jump to content

[SOLVED]Cannot enter voucher value after upgrade


Recommended Posts

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.

25820_6CdzfNORVukjm0t6nI4X_t

25825_OziaaYjV2lzwqdGlzusV_t

Link to comment
Share on other sites

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

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);

25856_fagJHkZ0s1IC4mQDxTKE_t

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...