• 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

Marek 20 Jul 2016, 20:36

Hi Vincenzo.
To make sure the issue is coming from Venedor theme, please switch to default prestashop theme and check the issue there.

Vincenzo 21 Jul 2016, 12:03

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

Marek 21 Jul 2016, 18:26

Hi Vincenzo. Thank you for the solution

Vincenzo 21 Jul 2016, 18:39

Hi Alexander,

You’re welcome

Regards

V