Answer the question
In order to leave comments, you need to log in
How to insert a form from amoCRM and remove caching?
I'm trying to add a code from amoCRM to the product card in template.php that displays a button and an iframe form in a modal window:
<script>var amo_forms_params = {"id":XXXXXX,"hash":"XXXXXXXXXXXXXXX","locale":"ru"};</script>
<script id="amoforms_script" async="async" charset="utf-8" src="https://forms.amocrm.ru/forms/assets/js/amoforms.js"></script>
Answer the question
In order to leave comments, you need to log in
And show the code, as you embedded in template.php
the html code, before and after caching.
Very strange behavior, getting scripts into the cache should not affect them in any way. Shouldn't you move all scripts to the end of the page in the settings of the main module?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question