- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 03.05.22, 09:26
- Opened by: Martina Farela
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
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:
1.advanceddateofdelivery
2.Drive, click & collect
3.productsbundlepro
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
Comments
Please provide access to your Back-office
You can access. It has the accesses in my profile
Were you able to access and see the problem?
Thanks
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
Ok
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?
Thanks
The hook is “displayBeforeBodyClosingTag”