• 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

Fred 22 Apr 2021, 13:00

Do you use some third party contact form module?

Douscents Consulting 22 Apr 2021, 13:25

Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.

Fred 22 Apr 2021, 13:26

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.

Douscents Consulting 22 Apr 2021, 15:51

Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.

Fred 22 Apr 2021, 16:39

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?

Douscents Consulting 22 Apr 2021, 16:45

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.

Fred 22 Apr 2021, 16:48

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

Fred 22 Apr 2021, 16:50

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.

Fred 22 Apr 2021, 16:51

I hope for changing your rating. Ready to help you with your problems

Douscents Consulting 22 Apr 2021, 17:01

Yep, we use conact form 7. But in desktop they´re working fine, just not working in amp.

Fred 22 Apr 2021, 17:26

Can’t you use default contact form in AMP?

Fred 22 Apr 2021, 18:21

Ok, and it works - https://take.ms/AMhVK

What is you next problem?

Douscents Consulting 22 Apr 2021, 18:41

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.

Fred 22 Apr 2021, 19:59

I understand. But that is not a bug or even a problem of AMP module.
What we could do to remove your review?

Douscents Consulting 26 Apr 2021, 16:43

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


Fred 26 Apr 2021, 17:48

Ok, I have replied there

Douscents Consulting 04 May 2021, 08:51

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.


Fred 04 May 2021, 10:30

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.

Douscents Consulting 20 May 2021, 19:15

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.

Fred 20 May 2021, 19:17

I can’t clearly understand what does that means.
No one has access to AMP js files. All AMP scripts hosted by Google.

Douscents Consulting 21 May 2021, 11:02

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.

Fred 21 May 2021, 11:12

in the AMP settings you can disable google cache

Douscents Consulting 21 May 2021, 11:25

We already have it done, without cache in google and local

Fred 21 May 2021, 23:05

Unfortunately, we don’t have time for customizations, sorry

Fred 26 May 2021, 12:15

There is an option in the AMP module what you can disable - https://take.ms/5vpzz

Douscents Consulting 26 May 2021, 12:17

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…

Fred 28 May 2021, 17:15

AMP has it’s own JS scripts. That is a sense of AMP. Google hosts all scripts and no one can change them