Jump to content

[PS 1.6.1.10] Order history details ajax doesn't work with friendly URLs


RabbitZzZ

Recommended Posts

Hello,

we recently discovered that in our shop the order-history doens't fuction alright. If you click on an order, the details don't appear and the developer console shows an 404 error:
GET [...]/index.php?controller=order-detail&id_order=72539&id_order=72539&ajax=true 404

I could find out that if I deactivate the friendly URLs in SEO/URLs section it does work. Everything else seems to work fine with them on.
Does anybody know, how to make it work? I already tried giving another rewiriting alias to the history page, but that changed nothing.

PS 1.6.1.10
modified default-bootstrap
PHP 7.2.34

Thanks on advance!

Link to comment
Share on other sites

I think that's not the point...
Isn't there anything to tweak at to make it work?

I thought about if there is something like

$link->getPageLink

which doesn't include the language in the url to make the ajax call work? 

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