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 Favorites (pkfavorites)

Overview

Fast way for customers to save products to a favorites list (works for guests and logged-in users).

Configuration

Alysum Prestashop Theme Favorites module Configuration

  • button_hook: where the product button is rendered — displayProductButton (default) or displayProductButtonFixed.
  • button_position: visual button position value (e.g. pktopright).
  • overall_number: false|true — whether to show overall favorites counter.

Use the module configuration page in Back Office to edit these values (the module persists configuration via its Config service).

Used Hooks

  • displayHeader: loads assets and exposes pkfavorites JS config.
  • displayMoreButtons: product page extra buttons area.
  • displayProductButton: product listing / product tile button.
  • displayProductButtonFixed: alternative product button hook.
  • displayCustomerAccount: renders a link / block for the customer's favorites in My account area.
  • displayMyAccountBlock: renders a small block for My Account.
  • actionAuthentication: on customer login — copies favorites from cookies into DB.
  • displayBackOfficeHeader: loads admin CSS when configuring the module.
  • moduleRoutes: registers module front controller routes.

Troubleshooting

  • If the favorites button doesn't appear, verify button_hook config and that the chosen hook is present in your theme templates.
  • If cookie migration on login doesn't copy items, check actionAuthentication hook is registered and enabled.

Demo

https://alysum.promokit.eu/en/3-women