- Priority: 0
- Status: Closed
- Theme: Venedor
-
Assigned To:
Alex
- Private: No
- Open Date: 20.07.16, 18:12
- Opened by: Vincenzo
- Closed by: Alex
- Closed on: 21.07.16, 23:31
- Reason: Fixed
Ticket #9794 - ven2.4 - Order history: javascript:showOrder don't work at all
Hi,
As per summary, in the order history page, when I try to view the order detail, the browser do the XHR call but the page view don’t change and so I can’t view the order detail: of course, this imply that any future store client won’t be able to do the same action and therefore can’t activate the RMA procedure (even worse)
PS v1.6.1.6
Ven v2.4
I already tried to swap the order.tpl theme file with the one provided with the vanilla theme: nothing changed…
Let me know
Kind regards
Vincenzo
Comments
Hi Vincenzo.
To make sure the issue is coming from Venedor theme, please switch to default prestashop theme and check the issue there.
Hi,
I haven’t switched the theme but I figured out how to make the Js working
In history.tpl (the venedor theme one) there is a div, id=”block-order-detail”, with a class assigned (class=”unvisible”): commenting this assignement worked like a charm and the Js turn to work again
Now, as I click on order reference number or on the details button (same Js call), the Js work and the content relative to order details appear on the bottom of the main content area and the section anchor is activated…
Kind regards
Vincenzo
Hi Vincenzo. Thank you for the solution
Hi Alexander,
You’re welcome
Regards
V