Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Promokit Front Panel (pkfrontpanel)

Overview

Display a small "What’s New" front panel / sidebar with an external HTML page loaded inside an iframe. The module shows a fixed button and a sidebar for desktop (disabled on tablet/mobile by default).

The module gives you an opportunity to:

  • Inform customers about new arrivals and trends
  • Display guides or extra information in an accessible sidebar
  • Highlight complementary items or accessory recommendations

Configuration

Alysum Prestashop Theme Front Panel module Configuration

  • url: URL of the HTML page that will be loaded into the sidebar iframe. Default in this distribution: https://alysum.promokit.eu/promokit/alysum-changelog.html.

The module uses the PKFRONTPANEL_CONFIG DB key to store its configuration.

Used Hooks

  • displayHeader: registers frontend CSS/JS and exposes the module config via Media::addJsDef under pkfrontpanel.
  • displayFixedBottomRight: renders the fixed button.
  • displayBeforeBodyClosingTag: renders the panel content.

Display Rules

  • The module renders only on the index page and when the device is not tablet or mobile (see isActive() logic in the module class).