- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 21.04.21, 12:12
- Opened by: Douscents Consulting
- Closed by: Anonymous Submitter
- Closed on:
- Reason:
Ticket #21353 - Contact forms not working in amp version
The contact forms are configured and working in desktop version but in amp version dont let me click the send button.
Comments
Do you use some third party contact form module?
Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.
Any third party module is not compatible with AMP by default. We have “AMPified” all prestashop pages and our own modules for the theme but we are not able to “AMPify” every third party module.
Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.
That is not a bug of the AMP that it doesn’t support third party modules.
AMP is very strict technology to make websites very fast and responsive. We have make whole theme compatible with AMP but we are not able to do the same for every third party module.
Can we discuss the rating you left on themeforest? Is there a way to remove it?
Your template has too many errors. If we deactivate the AMP; it does not work well on mobile (menu), and if we activate it, other modules do not work … It is a big problem, people should know this before buying it. We were going to buy more licenses, but we will stop doing it.
We currently finishing implementing Elementor module https://addons.prestashop.com/demo/FO34110.html into the theme what will make it much more powerful and fix mobile problems as well.
We are going to release it in May.
Hope that will be a solution for you
AMP is just an option. It has it’s own html tags developed by Google. And any third party module must be “AMPified” to be valid for Google.
I hope for changing your rating. Ready to help you with your problems
Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.
Can’t you use default contact form in AMP?
Yes, we can. Ex https://entrecosmeticos.com/module/pkamp/contact
Ok, and it works - https://take.ms/AMhVK
What is you next problem?
But we need two forms in web. That is the reason for installing contact form, since the prestashop form can only be used on one site.
I understand. But that is not a bug or even a problem of AMP module.
What we could do to remove your review?
Hello, we have opened more incidents with AMP, could you review them.
PD: Do not worry, if everything works really well, we withdraw the negative feedback
Ok, I have replied there
The developer of the Prestashop Contact Form module has indicated to me in several messages that the problem is with the template, this is the last message.
Hello,
Thanks for your reply.
I understand the issue on CMS pages. Maybe my explanation in the previous message was not clear.
Your AMP ONLY supports some pages and forms. It does not support the contact form, even though it is a contact page of Prestashop.
So, if you add these forms to any pages, you still get the same issue.
As I wrote you before
Any third party module is not compatible with AMP by default. We have “AMPified” all prestashop pages and our own modules for the theme but we are not able to “AMPify” every third party module.
The developers of the module have told us that we must update the AMP CDN, but we do not know how to do it
Hello,
We just added JS code into our module (modules\ets_contactform7\views\js\scripts)
And CDN of AMP does not update our code so the issue is not solved completely (PHP code is updated only)
We cannot clear cache of CDN so please help me to ask the developer of AMP to clear it.
I can’t clearly understand what does that means.
No one has access to AMP js files. All AMP scripts hosted by Google.
It seemed strange to us, but according to them its module is compatible with AMP and we would have to clear the cache of our CDN on the web for it to work.
in the AMP settings you can disable google cache
We already have it done, without cache in google and local
Unfortunately, we don’t have time for customizations, sorry
No somos capaces de borrar la cache de la CDN de Google ¿podrían ayudarnos?
https://entrecosmeticos.com.<cache.updateCacheApiDomainSuffix>/r/s/entrecosmeticos.com/.well-known/amphtml/apikey.pub
https://entrecosmeticos-com.cdn.ampproject.org/update-cache/c/s/entrecosmeticos.com/.well-known/amphtml/apikey.pub
https://cdn.ampproject.org/c/s/entrecosmeticos.com/path/to/stuff/
https://entrecosmeticos.com/.well-known/amphtml/apikey.pub
https://entrecosmeticos.com.<cache.updateCacheApiDomainSuffix>/update-cache/c/s/entrecosmeticos.com?amp_action=flush&_ts=<ts_val>&_url_signature=<sig_val>
https://entrecosmeticos-com.cdn.ampproject.org/c/s/entrecosmeticos.com/mobile/page/5-profesionales
https://entrecosmeticos-com.cdn.ampproject.org/r/s/entrecosmeticos-com/.well-known/amphtml/apikey.pub
There is an option in the AMP module what you can disable - https://take.ms/5vpzz
Yes, i did. But we change JS in a module (contact form) and in versión AMP dont change, it was cached… and we had always this option selected. Is very strange…
AMP has it’s own JS scripts. That is a sense of AMP. Google hosts all scripts and no one can change them