Jump to content

JavaScript Function showOrder() From history.tpl Doesn't Work


derthis

Recommended Posts

Hi Everyone,

 

I installed PrestaShop, added modules and configured it a little bit, and when I tried orders and viewing orders in MyAccount section, clicking on "Details" at a order doesn't work. When I open Chrome Console, it says this:

 

GET http://localhost/webs/electroland-dev/order-detail.php?id_order=2&ajax=true 500 (Internal Server Error)	 jquery-1.4.4.min.js:141
c.extend.ajax	 jquery-1.4.4.min.js:141
c.extend.get	 jquery-1.4.4.min.js:133
showOrder	 history.js:36
(anonymous function)	 order-history:1

 

Any ideas what could have gone wrong?

 

Thanks!

Link to comment
Share on other sites

  • 2 months later...

Found it - I messed with order-detail.tpl and I should have not done that. So if you find yourself in similar situation, you know where to look - in order-detail.tpl. Quite obvious.

 

Thanks for your solution.. You are right :) I too was facing this issue, but i just replaced my template's orderdetail.tpl file.. now its working fine... Thanks a lot for posting this :)

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...