• Closed by: Fred
  • Closed on: 23.06.20, 23:28
  • Reason: Closed
  • Comment: Glad to help!

Ticket #18082 - AMP version doesn't load module libraries

Hi,

I have bought this theme and I was configuring AMP versioni for mobiles. I have colissimo module as payment method. However, this module doesn’t work in AMp because I checked that colissimo module libraries are not loaded in this AMP version.

Please go to: https://proyectos.liewebs.com/ to check it.

If you want to make a test purchase, if you choose “Colissimo Points de retrait” a button is displayed just below, but this button is not working because no libraries are loaded.

Waiing for your support.

Best regards!

Attachments:

AMP.jpg (101.8 KiB)

Comments

Fred 25 May 2020, 20:11

Hi, Joaquín Bosch Molina.
Any third party module is not compatible with AMP by default. To make it work with AMP we have to extend AMP module what requires some time.
What payment module you need to make work in AMP?

Joaquín Bosch Molina 26 May 2020, 00:29

I think that it is very important to allow libraries from another modules, because payment method modules are very important to use it.

Best regards!

Fred 26 May 2020, 00:36

I see what do you mean, but you have to understand what AMP is. Read about that here https://alysum5.promokit.eu/promokit/documentation/amp/index.html

I’ll try to make your module work in AMP

Fred 26 May 2020, 14:03

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

Joaquín Bosch Molina 26 May 2020, 23:33

Just added BO access and FTP

Fred 27 May 2020, 10:43

Unable to connect to your server with provided credentials. https://take.ms/pmS7t

Joaquín Bosch Molina 27 May 2020, 12:34

Hi,

I have changed the FTP password, please see it and try again using FTP protocol only, not SSH

Joaquín Bosch Molina 27 May 2020, 12:35

Also I am having troubles with theme translations. I have created a child theme, and in AMP version some strings are in english and I have checked that in translations section they are translated correctly to french.

I have a high value of max_input_vars = 50000

Fred 27 May 2020, 12:44

that is not a theme/module issue. Go to your server configuration and change “max_input_vars” value

Joaquín Bosch Molina 27 May 2020, 13:00

Hi,

That is not the issue, my value is too high and now I have increased to 500000.

The translations are ok in main theme, but in AMP version some strings are in english not translated in fench.

please check:
https://proyectos.liewebs.com/module/pk_amp/contact (AMP)
https://proyectos.liewebs.com/nous-contacter (PC version)

Fred 27 May 2020, 13:02

Yes, and you need to translate it in the back office.

Joaquín Bosch Molina 27 May 2020, 13:09

Just translated, please Could you take at look at this?? But it is not working in FO

Joaquín Bosch Molina 27 May 2020, 13:32

I just getting translations but repeating the action translating the same string more than one time….

Wait for the module colissimo compatibility. Thanks!!

Fred 27 May 2020, 14:07

so this ticket is solved?

Joaquín Bosch Molina 27 May 2020, 14:14

No, translations are solved, but I need you to modify AMP theme to make compatible with payment module colissimo. As I opened this ticket with that subject.

Fred 27 May 2020, 23:16

In progress…

Fred 28 May 2020, 22:59

Please try now

Joaquín Bosch Molina 28 May 2020, 23:30

Hi,

now it is working perfectly. Thank you very much for your support, I will leave good feedback in codecanyon.

Please tell me the files that you have modified, in order to make a backup of these, for next updates.

Best regards!

Fred 28 May 2020, 23:56

Thank you!
I have added your payment module to the list of libraries in the file /modules/pk_amp/pk_amp.php