• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 13.03.24, 10:01
  • Opened by: Pascal Mondet

Ticket #25403 - Mobile Version AMP Disabled, doesnot work

Hello,

We’d like to stop using AMP for Mobile.

For 1 of our shops, we’ve disabled, in setting, AMP and put No at “force loading AMP on samrtphones” & “Force Loading AMP on tablets”.

Unfortunately, the Menu doesnot work, trying to click ( grey square with 3 lines) on it, nothing happen.

https://bigbagmarket.de/

Can you please help us ?

Attachments:

Comments

Fred 13 Mar 2024, 10:49

Hi, Pascal.
Please update credentials in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server to let me check out what's wrong

Pascal Mondet 13 Mar 2024, 13:33

Hi Fred,

You've got the access to the BO. Before updating FTP, can you please see what's happen for the shop ^Big Bag Market Allemagne ?

Please take into account that AMP is enable because the shop is online. For testing please disable AMP and see why the menu onf the standard mobile version does not work.

Fred 14 Mar 2024, 08:42

The problem is that the Menu module is not hooked into displayHeader hook. Moreover I don't see the displayHeader hook in your back office at all.

Pascal Mondet 14 Mar 2024, 08:47

Hi Fred,

I don't know, We didn't change anything.

I see DisplayheaderBuilder and DisplayMobileHeader

It works for PC version.

Can you please help us solving this

Pascal Mondet 14 Mar 2024, 08:48

Another Hook exists ⇒ DiplayMenu where PromokitMenu is hooked

Fred 14 Mar 2024, 08:50

Try to copy the code from
/modules/pk_menu/views/js/front.js
and past it into Theme Settings → Customer JS field
That should add missed menu functionality

Pascal Mondet 14 Mar 2024, 08:57

I see the file /modules/pk_menu/views/js/front.js
but i do not see the path where to past it theme/settings/customer … ?

Fred 14 Mar 2024, 09:01

That's in your back office → Theme Settings → Customer JS

Pascal Mondet 15 Mar 2024, 15:05

Hi Fred,
We check and it is working on our offlineprod.

We'll try on production and come back to you if needed.

Fred 15 Mar 2024, 15:17

Ok