Trust & Security Badges: setup and help

Quick start

  1. Upload and install the mprtrustbadges ZIP through Module Manager.
  2. Click Configure to open Trust Badges Settings and select the intended multistore context.
  3. Keep Enable checked and review the Default collection in your default shop language.
  4. Use Add badge to choose an Icon, enter Text and optionally add a Link (HTTPS, HTTP or shop path).
  5. Under Placements, assign a collection and Layout to Product block and Cart block, then click Save.
  6. Open a product and cart page. Confirm the saved badges and any policy links appear.
  7. Check another shop language and a narrow screen; test dismissal if you enabled Floating box.

Requires PrestaShop 1.6 or later and PHP 7.1 or later.

Setup manual

Install and first configuration

Follow the steps in Quick start.

Edit collections and languages

Open Trust Badges Settings from the module's Configure action. The current editor uses named collections. You can keep one collection for several positions or assign a different collection to each position.

Control Default What to do
Enable Checked Clear it to stop all badge placements.
Language Shop language choices Choose the language whose ordered badge list you want to edit.
Collections Default collection Use Add collection for another list. Collection names are internal editor labels, up to 100 characters.
Icon One of the six built-in choices Choose lock, refresh, headset, shield, truck or star.
Text Shipped translated labels Enter a nonempty plain-text label, up to 240 characters. Markup is not rendered as HTML.
Link (HTTPS, HTTP or shop path) Empty Leave empty for text, or enter an HTTP/HTTPS URL or root-relative shop path such as /content/1-delivery.

The shipped default collection contains lock with Secure Checkout, refresh with Free Returns, headset with 24/7 Support, and shield with Money Back Guarantee, translated where available. Replace any label that does not describe your shop's policy.

Use Add badge, Remove, Move up and Move down to edit the ordered list. The editor supports up to 20 collections and 30 badges per language in each collection. The combined stored badge lists for one language must fit within 65535 bytes.

An empty list for a language uses the default-language list. If the default-language list is also empty, that collection renders no badges. A badge's icon, text, link and position belong to its language list. Check all languages you use.

Assign placements

In Placements, select a collection or Disabled for each position. Choose Layout as Row, Compact row or Stacked cards. For Floating box, choose Corner as Top left, Top right, Bottom left or Bottom right.

Placement Shipped assignment Theme hook
Product block Default collection, Row displayProductAdditionalInfo or displayProductButtons
Cart block Default collection, Row displayShoppingCartFooter or displayShoppingCart
Header bar Disabled displayBanner or displayTop
Footer bar Disabled displayFooter
Floating box Disabled; bottom-right corner if assigned displayFooter

Save after editing. Product and cart can use different collections. Output is protected against duplicates for the same placement within a request.

The floating box has a dismiss button and supports Escape. Dismissal is remembered for the visit through browser session storage and a session cookie, with an in-memory fallback. The script attempts to fit the box around fixed and sticky controls. Check it with your cookie banner and chat widget open. A full-screen overlay can temporarily hide the floating box.

Use multistore inheritance

Select the intended Back Office shop context before editing. The whole collections document and its language lists resolve together from shop, then shop group, then all shops, then shipped defaults.

Review Editing scope and Effective source. Saving creates a complete override for that scope. In a shop or group with saved settings, Use inherited settings removes that scope's override. It restores the parent configuration rather than merging individual badges.

Saving, importing and inheritance changes require authorization for the selected shop scope. If authorization fails, reload the page in the intended context and check employee permissions.

Import a badge list

Open Import JSON into selected collection. Choose the target collection and language, then paste an array of badge objects. For example:

[
  {"icon":"lock","text":"Secure Checkout"},
  {"icon":"truck","text":"Fast Dispatch","url":"/content/1-delivery"},
  {"icon":"refresh","text":"Easy Returns"},
  {"icon":"star","text":"Quality Checked"}
]

For service messages you can instead use shield with Buyer Protection, headset with Support Available, and lock with Encrypted Checkout. The same six icon values apply to every collection. Custom image upload is not included.

You can also import an object whose keys are shop language IDs or ISO codes and whose values are badge lists. Only supplied languages are replaced. Review the imported draft, then click Save to publish it. Import alone does not change the storefront.

Unknown icons, empty labels, unsafe links, excessive lengths or limits prevent saving. Use an empty link, http://, https:// or a single-slash shop path. Protocol-relative //... and script URLs are rejected.

Verify and troubleshoot

Check your product, cart and any optional header, footer or floating placements. Verify the text in each language and follow every configured link. The icons and labels are static display content; they do not establish that a payment, guarantee or certification service is active.

If a placement is absent, check Enable, the assigned collection, language fallback and theme hook. If the editor rejects a save, correct the highlighted field and review the collection and language limits. Invalid submitted settings are not published. Use Integrity for setup checks.

A theme developer can restore a missing product or cart hook in the appropriate template:

{hook h='displayProductAdditionalInfo'}
{hook h='displayShoppingCartFooter'}

Use one appropriate hook per location and check placement after any theme changes. The module loads CSS, front JavaScript and detected theme styles. For theme CSS, the existing .mprbadge-container, .mprbadge-icon and .mprbadge-text classes remain available:

.mprbadge-container { background: #fff; border-color: #d7e7dc; }
.mprbadge-icon { color: #2e8b57; }
.mprbadge-text { font-size: 13px; }

Disable or uninstall

Clear Enable to hide every placement, or choose Disabled for individual placements. To remove the module, use Uninstall in Module Manager. It removes its configuration, including saved collections and translations, and its admin menu.

Questions

1

Can I choose badges separately for each product or category?

There is no per-product or per-category targeting setting. The Product block uses its assigned collection across products within the effective shop configuration and language. Other placements, such as the cart, can use different collections.

Known Issues

6

Floating badges were hidden or overlapped sticky bars

ResolvedUpdated:
Fixed in: 1.1.3
Transparent page wrappers could hide floating badges, and scrolling within nested areas could leave collisions with sticky bars unresolved.

Badge editor save and inheritance controls misbehaved

ResolvedUpdated:
Fixed in: 1.1.3
Submitting the badge editor could choose the wrong action, and restoring inherited settings could be blocked by browser validation.

Module could not load on PHP 7.1

ResolvedUpdated:
Fixed in: 1.0.18
The packaged requirements incorrectly prevented the module from loading on PHP 7.1.

Badge administration translations displayed incorrectly

ResolvedUpdated:
Fixed in: 1.0.18
Badge administration text could show damaged translations or remain in English.

Badge text stayed in English

ResolvedUpdated:
Fixed in: 1.0.16
Badge text could remain in English for visitors using another shop language.

Badge administration failed to load

ResolvedUpdated:
Fixed in: 1.0.15
Opening badge administration could fail because a required compatibility component was missing.

Feature Requests

7

Implemented

Configurable trust badges

Implemented
Configure storefront trust badges with selectable icons and text.

One-click updates

Implemented
Update the module from its administration page.

Multilingual administration

Implemented
Use translated module administration text in French, German, Spanish, Italian and Polish.

Visual badge collection editor

Implemented
Create ordered badge collections with translated text, links, selectable icons and a live preview.

Badge placement and layouts

Implemented
Assign badge collections to product pages, the cart, header, footer or a floating corner and choose row, compact or stacked layouts.

Shop-specific badge settings

Implemented
Configure badge collections for individual shops and inherit settings from the broader shop context.

Badge list import

Implemented
Import existing badge lists into a collection, including language-specific lists.

Changelog

v1.0.152026-09-24

  • Addedcomplete FR/DE/ES/IT/PL translations
Older releases

v1.2.02026-04-20

  • Addedadmin menu management via MenuInstaller for streamlined module setup

v1.1.02026-02-02

  • AddedPS 9 / Hummingbird theme compatibility
  • Addedcustom badge upload — upload own SVG or PNG trust icons
  • Improvedlayout engine — supports single row, wrapping, and grid arrangements
  • Fixedpayment icon sizing inconsistency between product page and cart page

v1.0.02025-06-09

  • Initialrelease: trust and security badges for PrestaShop
  • InitialPre-built badge library: SSL Secured, Money-Back Guarantee, Secure Payment, Free Returns
  • InitialPayment method icons: Visa, Mastercard, PayPal, Stripe, and more
  • InitialConfigurable placement: product page, cart, checkout, footer
  • InitialCompatible with PS 1.7.x and PS 8.x

Demo

Test the full module

  • Ready demo shop Explore a ready demo shop in your browser.
  • No registration No account, email or store domain needed.

By opening this demo you accept the demo terms and the privacy policy.

Loading...
Back to top