Jump to content

How can I add a calculator in a CMS page


jpjk

Recommended Posts

I am trying to migrate  our PHP built webshop to Prestashop.
One of our pages is made of calculators helpers https://www.soundskulptor.com/en/calc.php

The CMS pages do not accept the <form>...</form> balises.

Is there a possible workaround?

Thank you for your help.

Link to comment
Share on other sites

  • 3 years later...

Hi,

PrestaShop CMS pages strip out <form> tags, so you can’t embed your calculator directly in a CMS page. A practical workaround is to either wrap your calculator in a custom PrestaShop module, which allows full integration and control, or host it externally and embed it using an <iframe>. Both approaches preserve the calculator’s functionality and make it maintainable. Another option is to create a custom template page in your theme for the calculator or inject the form dynamically with JavaScript, though these require more setup. The module or iFrame method is usually the cleanest and most reliable solution for full-featured calculators like yours.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...