• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 26.10.24, 02:20
  • Opened by: Thomas Ullrich

Ticket #25819 - Strange 'additional' Menu on AMP Checkout pages

There is a strange - and not functional - additional menu appearing at the end of our checkout pages. This only happens on AMP pages. It has no functionality, it is just a graphic, as it seems. Places below reassurance bars and above footer.

See screen shot attached.

Do you know where this comes from? Can I deactivate it somewhere in the configuration?

Yours
Thomas

Comments

Thomas Ullrich 26 Oct 2024, 02:23

See screen attached

Attachments:

Fred 26 Oct 2024, 23:19

Hi, Thomas.
Open the file

/modules/pkelements/views/templates/hook/endofpage.tpl

find the line

{if isset($showPanel) && $showPanel && isset($items) && !empty($items)}

and replace with

{if isset($showPanel) && $showPanel && isset($items) && !empty($items) && !isset($amp)}
Thomas Ullrich 27 Oct 2024, 01:38

See screen attached

Attachments:

Thomas Ullrich 27 Oct 2024, 01:41

Hmm, I did what you said. The content of endofpage.tpl looks like this now:
{* sort output, display templates first *}
{if (isset($widgetsStack) && !empty($widgetsStack))}

  {foreach from=$widgetsStack item=item}
      {if (strpos($item, 'template'))}
          {$item nofilter}
      {/if}
  {/foreach}
  {foreach from=$widgetsStack item=item}
      {if (!strpos($item, 'template'))}
          {$item nofilter}
      {/if}
  {/foreach}

{/if}
{if isset($showPanel) && $showPanel && isset($items) && !empty($items) && !isset($amp)}

  {include file="module:pkelements/views/templates/_partials/mobile-bottom-panel.tpl"}

{/if}
<div class="pk-shadow" aria-hidden="true"></div>

After that I cleared the cache, but there is no change. The 'double'panel is still there. See new screen attached.

Attachments:

Fred 27 Oct 2024, 11:20

Maybe it was cache issue, but I don't see that panel anymore