Module · LNK Premium Products
  • PrestaShop

LNK Premium: products highlighted in your categories, with image and video

In a grid where every product has the same size, nothing sets apart the new arrival, the flagship product or the limited edition. LNK Premium lets you make it a premium product from its page: a wider, taller or twice as large tile, a video that starts on hover and a badge. It keeps its place in the sort order, and your LNKBOOT theme displays it.

  • Version 1.1.1 · PrestaShop 1.7.6 to 8.x
  • Version 1.9.1 · PrestaShop 9
  • PrestaShop 1.7.6 to 9.x
  • PHP 7.1 to 8.4
  • No override

Key points

  • A premium product is set from its product page.
  • Three formats: wide, tall, large.
  • The premium product keeps its place in the sort order.
  • Hosted MP4 or WebM video, on hover, when visible or on click.
  • YouTube video loaded on click only.
  • Badge translated into every language.
  • No video downloaded before it is visible.
  • A 1.6 KB script, only when a premium video exists.
  • One query per page for all products.
  • Video files checked on their content, 8 MB at most.
  • Adjustable limit on the number of premium products.
  • PrestaShop 1.7.6 to 9, no override.

Highlight a product from its page

On the product page, a Highlight tab gathers everything: turn on the premium product, choose its format in the lists, add a media and a badge. No other screen to learn. A catalog page lists the premium products of the shop, with a link to each one.

Three formats in the grid

Wide over two columns, tall over two rows, or large over two columns and two rows. The premium product stays in its place in the sort order chosen by the customer: only its size changes, and the grid fills up with no gap. On mobile, it takes the full width.

A product video in the category

A short video hosted on your shop, MP4 or WebM, starts on hover on a computer, muted when the tile is visible, or on click, as you choose. Nothing is downloaded before: the video only loads when the customer can see it. A YouTube video can also be chosen; it only loads on click, and nothing is requested from YouTube before.

A translated badge

Favourite, Limited edition, New: a short text on the tile, 24 characters at most, translated into every language of the shop.

Light and fast

Figures measured on the shipped module, compressed with gzip (level 9). No CSS from the module: the grid is in the theme. A single script, 1.6 KB, without jQuery, loaded only on list pages and only if an active premium product has a video. Without a premium video, the module loads nothing.

The settings of a whole page are read in a single query, whatever the number of products shown.

Checked video files

The type of each video is checked on the file itself, not on its name: a file that is not an MP4 or WebM video is refused. Videos are 8 MB at most, stored under a random name in a folder where no script can run, and deleted when you replace them or delete the product.

Compatible with PrestaShop 1.7.6, 8 and 9

Two versions of the module, one per generation: 1.1 for PrestaShop 1.7.6 to 8.x, 1.9 for PrestaShop 9, with the native tab of the product page. LNKBOOT themes display it in their own style; on another theme, the module applies a standard rendering that follows your settings. No override.

Frequently asked questions

How do I highlight a product in a PrestaShop category?

Open the product page, Highlight tab, and turn on Premium product. Choose its format in the lists, add a video and a badge if you wish, then save. Your LNKBOOT theme shows it larger in the product lists.

Does the premium product change the order of products?

No. It keeps its place in the sort order chosen by the customer, by price, newness or relevance. Only its size changes, and the grid fills up with no gap.

Which video can I add?

An MP4 (H.264) or WebM video of 8 MB at most, hosted on your shop; about thirty seconds is enough. You can also give a YouTube video, which only loads on click.

Does the video slow down my pages?

No. It is only downloaded when the customer can see it: on hover, when the tile becomes visible, or on click, depending on your setting. It does not start on its own if the customer has asked to reduce animations or to save data.

What does the module load on my pages?

With a LNKBOOT theme: no CSS, a single 1.6 KB compressed script, without jQuery, and only on the list pages of a shop that has at least one premium video. With another theme, the standard rendering adds a stylesheet and a script (about 1.5 and 2.3 KB compressed), only on lists that show a premium product. Without a premium product on screen, nothing is loaded.

What if I upload a file that is not a video?

It is refused with a clear message. The type is checked on the content of the file, not on its name, and videos are stored under a random name in a folder where no script can run.

Does the module work with my current theme?

Yes. A LNKBOOT theme displays premium products itself, in its own style. On another theme (Classic, Hummingbird, marketplace themes), the module applies a standard rendering that follows your settings: tile over 2 columns, 2 rows or 2 × 2, badge and video. The other products keep their place and size.

How many products can I highlight?

200 by default, a number you can change on the LNK Premium page of the catalog. This limit keeps the lists light.

Is the module compatible with PrestaShop 9?

Yes. Version 1.9 is made for PrestaShop 9, with a native tab in the product page. Version 1.1 covers PrestaShop 1.7.6 to 8.x.

What happens if I uninstall the module?

Its tables, its settings and its videos are deleted. Your products and your lists are not changed. It installs no override.

Release history

4 versions released for PrestaShop

  1. Version 1.9.1 PrestaShop 9

    Changes

    • Standard rendering on a theme that does not style premium products (Classic, Hummingbird, marketplace themes): tile over 2 columns (Wide), 2 rows (Tall) or 2 × 2 (Large) in the list grid, badge on the image, hosted or YouTube video with its playback mode; applied again after a sort, a filter or a page change. Loaded only on lists that show a premium product, never on a LNKBOOT theme. The "Highlight" tab says so.
    • Display name "LNK Premium Products" in the module list and in the menu (French: LNK Produits premium; Arabic: LNK المنتجات المميزة).
    • "Highlight" tab of the product page redesigned: Premium product, Format in lists (illustrated choices), Thumbnail media and Badge (character counter) cards, and a preview in a product list updated with each choice, on computer and mobile. Format and media stay greyed out while the product is not premium. The YouTube choice now only appears for a product that already uses it.
    • L'NKBOOT licence of use (one store per licence, general terms of sale of addons.lnkboot.fr).
    • Standard rendering: the image of a Wide or Large tile fills its cell without the white bands PrestaShop adds around a portrait photo (framed from the original photo, centred); the badge sits at the top, start side, with the theme flags (“New”), and wraps instead of being cut; in the Tall format, name, price and cart stay grouped under the image. Checked on Classic and Hummingbird, desktop and mobile, left to right and right to left.
    • “Highlight” tab: texts accurate whatever the theme (the product is shown larger in the shop’s product lists).
    • Standard rendering: a premium tile gets the large size of the image (large_default, as webp or avif when the shop generates them), sharp at its size; loaded at once when it is the first tile on screen, lazily otherwise. The grid is set as soon as the script runs, and the reference height of a Wide tile is measured inside the grid: no jump when images load.
    • Standard rendering: the badge becomes a theme flag (native actionProductFlagsModifier hook, in lists only), rendered server side and styled like “New”; without a badge, a mark read by screen readers and hidden on screen. The grid and the place of each tile are set in CSS from the first render (per-product places stylesheet in img/lnk_premium/, theme columns): no tile moves while loading (CLS measured at most 0.0025 on Classic 1.7.6 mobile, 20 runs in French and Arabic).

    Fixes

    • Script served with a fingerprint of its content: after an update, a cache or CDN no longer serves the old file.
  2. Version 1.9.0 PrestaShop 9

    First version for PrestaShop 9. PrestaShop 1.7.6 to 8.x has its own version, 1.1.0.

    New

    • A Highlight tab in the product page: premium product, format in lists, media, playback and translatable badge.
    • Three formats for lists: wide over 2 columns, tall over 2 rows, large over 2 × 2.
    • Video hosted on the shop (MP4 or WebM, 8 MB at most, type checked on the file itself) or YouTube video loaded on click only.
    • Playback on hover on a computer, muted when the tile is visible, or on click.
    • A single query per page for all tiles, and an adjustable limit on premium products.
    • A 1.6 KB compressed script, loaded only on list pages that can show a video.
  3. Version 1.1.1 PrestaShop 1.7.6 to 8.x

    Changes

    • Standard rendering on a theme that does not style premium products (Classic, Hummingbird, marketplace themes): tile over 2 columns (Wide), 2 rows (Tall) or 2 × 2 (Large) in the list grid, badge on the image, hosted or YouTube video with its playback mode; applied again after a sort, a filter or a page change. Loaded only on lists that show a premium product, never on a LNKBOOT theme. The "Highlight" block says so.
    • Display name "LNK Premium Products" in the module list and in the menu (French: LNK Produits premium; Arabic: LNK المنتجات المميزة).
    • "Highlight" block of the product page (Modules tab) redesigned: Premium product, Format in lists (illustrated choices), Thumbnail media and Badge (character counter, language choice) cards, and a preview in a product list updated with each choice, on computer and mobile. Format and media stay greyed out while the product is not premium. The YouTube choice now only appears for a product that already uses it.
    • L'NKBOOT licence of use (one store per licence, general terms of sale of addons.lnkboot.fr).
    • Standard rendering: the image of a Wide or Large tile fills its cell without the white bands PrestaShop adds around a portrait photo (framed from the original photo, centred); the badge sits at the top, start side, with the theme flags (“New”), and wraps instead of being cut; in the Tall format, name, price and cart stay grouped under the image. Checked on Classic and Hummingbird, desktop and mobile, left to right and right to left.
    • “Highlight” block: texts accurate whatever the theme (the product is shown larger in the shop’s product lists).
    • Standard rendering: a premium tile gets the large size of the image (large_default, as webp or avif when the shop generates them), sharp at its size; loaded at once when it is the first tile on screen, lazily otherwise. The grid is set as soon as the script runs, and the reference height of a Wide tile is measured inside the grid: no jump when images load.
    • Standard rendering: the badge becomes a theme flag (native actionProductFlagsModifier hook, in lists only), rendered server side and styled like “New”; without a badge, a mark read by screen readers and hidden on screen. The grid and the place of each tile are set in CSS from the first render (per-product places stylesheet in img/lnk_premium/, theme columns): no tile moves while loading (CLS measured at most 0.0025 on Classic 1.7.6 mobile, 20 runs in French and Arabic).

    Fixes

    • Script served with a fingerprint of its content: after an update, a cache or CDN no longer serves the old file.
Show the previous version
  1. Version 1.1.0 PrestaShop 1.7.6 to 8.x

    First version for PrestaShop 1.7.6 to 8.x. PrestaShop 9 has its own version, 1.9.0.

    New

    • A Highlight block in the Modules tab of the product page, with its own save button: premium product, format in lists, media, playback and translatable badge.
    • Three formats for lists: wide over 2 columns, tall over 2 rows, large over 2 × 2.
    • Video hosted on the shop (MP4 or WebM, 8 MB at most, type checked on the file itself) or YouTube video loaded on click only.
    • Playback on hover on a computer, muted when the tile is visible, or on click.
    • A single query per page for all tiles, and an adjustable limit on premium products.
    • A 1.6 KB compressed script, loaded only on list pages that can show a video.

Your cart

Your cart is empty.