• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 03.05.22, 09:26
  • Opened by: Martina Farela

Ticket #23313 - Problem with modules in product page

Hi, Fred.
I have installed modules that should display content on the product page. But the template throws me a Javascript error.
I insert the content of the module but it does not work correctly.
The modules that do not show me the correct content on the product page are:
2.Drive, click & collect

You can see here https://nuevaweb-sc.ddns.net/es/extractos-y-composores/519-soria-natural-extracto-arandano-50-ml-8422947044053.html that it does not display the content of the modules correctly (in the right column) and the javascript error it throws.
Thank you Fred


Fred 03 May 2022, 10:32

Please provide access to your Back-office

Martina Farela 03 May 2022, 10:43

You can access. It has the accesses in my profile

Martina Farela 04 May 2022, 10:31

Were you able to access and see the problem?


Fred 04 May 2022, 10:58

We have reviewed the code of page and found out that your module added it's code into the "head" tag, but it must add it to the end of page.
Every scripts of our theme (and Classic Prestashop theme as well) is printed out in the end of page.
Ask module developer to move module scripts into the right place to the end of page

Martina Farela 04 May 2022, 11:53

Indeed I have seen that it loads in the hook 'header'

Can you specify which hook is the one at the end of the page?


Fred 04 May 2022, 11:54

The hook is "displayBeforeBodyClosingTag"