Skip to main content

Fixing Module Configure Button Not Working on Product Page

If you encounter a situation where you cannot click on the Configure button for a module inside the Modules section of a PrestaShop product page — and instead the page reloads — this is not an issue with the module, but a known PrestaShop bug.

It is caused by invalid or hidden characters in the short description or description fields of the product, typically inserted when copying text from external sources like Word, Google Docs, PDFs, or websites.

Why This Happens

When a JavaScript error occurs on the product page, it interrupts the page's script execution.

  • The browser fails to assign the correct behavior to the Configure buttons.
  • Clicking the button instead triggers a page reload.

This happens for all modules, not just Product Video or any specific module.

How to Confirm if This Is the Issue

  1. Open your browser's Developer Tools (press F12 or right-click > Inspect > Console tab).
  2. Check for any JavaScript errors shown in red.
  3. If the error message includes a snippet of your product's description, it confirms the issue.

The text shown in the error will indicate whether the short description or full description field is causing the problem.

Temporary Workaround

You can temporarily fix the issue following these steps:

  1. Copy the full text from the problematic field (short description or description).
  2. Remove the text completely.
  3. Save the product.
  4. Reload the product page.
  5. Paste the text back into the field.
  6. Save the product again.
important

Do not refresh the page after saving. If you refresh, the JavaScript error will reappear.

This method allows you to load the page without JS errors so that all module functionalities, including the Configure buttons, work correctly.

Permanent Solution

For a more permanent fix, we recommend:

  • Cleaning the description text manually by copying it to a plain text editor like Notepad to remove hidden formatting.
  • Then pasting it back into PrestaShop.

This ensures that no hidden or invalid characters remain, preventing future JavaScript errors.

Why Does This Matter?

When JavaScript breaks due to an error:

  • Modules can't properly load their configurations.
  • Button actions fail.
  • The page may reload unexpectedly.

By fixing the underlying text issues, your product pages will behave as intended.


If you continue to have difficulties or would like help identifying problematic content, feel free to contact us.