Modules

Trust badges

A short row of reassurances — secure checkout, free returns, fast shipping — that sits at the very bottom of the cart drawer, under the checkout button.

Read this before you spend time on it. Trust badges do not reach a live storefront in the current build. You can add the module, write your badges and save them, and the cart publishes without any error — but the badges are dropped when the cart is published, so neither the preview nor a real shopper sees them. Everything below describes settings that are real and behaviour that is written and tested in the drawer; the gap is in publishing, and it is spelled out in Limitations.

What it is

A trust badge is a short line of text, optionally with a small icon or image beside it. You write one badge per line. The drawer shows them together as a list at the end of the footer.

The words are the badge; the icon is decoration. Screen readers skip the icon and read your wording, and a line with no words is dropped rather than shown as a lone picture. A padlock on its own means "something about security" and nothing more precise, which is why every badge has to carry text.

When to use it

Set it up

  1. In the app, open Carts and press Open on the cart you want to change. That takes you to the Cart builder.
  2. Look in the Modules list for Trust badges. If it is not there, go to the Add a module section, pick Trust badges in the Module list and press Add.
  3. The row is marked Fixed position with a padlock. That is expected — badges always render last in the footer and cannot be moved.
  4. Press Settings on that row.
  5. In the Badges box, type one badge per line (see the format below).
  6. Press Save. You will see a "Saved" banner saying the changes go live the next time you publish.
  7. Go back to the builder and use Review and publish under Publish.

Settings

SettingWhat it does
Badges A box of text, one badge per line. Its help text in the admin reads: "One per line: the words, then optionally an icon name or image URL after a vertical bar. Icons: secure, returns, shipping, support. Example: Secure checkout | secure". Badges appear in the order you type them. There is nothing else to configure — this module has one setting.

So a filled-in box might look like this:

Secure checkout | secure
    Free returns within 30 days | returns
    Ships in 24 hours | shipping
    Real people on support | support

How badges behave

Where they appear

Always last in the footer: after the savings line, the subtotal, the tax note, the checkout button, any express buttons and "Continue shopping". You cannot move them, and you cannot put them above your cart items — badges pushed above the items would push the shopper's own cart below the fold.

The footer is not drawn at all when the cart is empty, so an empty cart shows no badges.

Icons

Four icons are built in: secure, returns, shipping, support. Type one of those names after the vertical bar. Capitals do not matter. They are drawn in your drawer's own text colour and sized to the text.

If you type something after the bar that is not one of those four names, it is treated as an image URL instead. A misspelled icon name therefore costs you the picture, not the badge — the words still show.

Your own image

You can put an image URL after the vertical bar instead of an icon name. It has to be one of:

Anything else — another company's host, or plain http — is refused, and the badge renders as words alone. That is deliberate: an image loaded from someone else's server is a request from your shopper's browser to that server, carrying their address and the page they were on.

Images are drawn at 20 by 20 pixels, load lazily, and are treated as decoration, exactly like the built-in icons.

What screen readers hear

The badges are announced as a list, so a shopper using a screen reader is told how many there are before hearing any of them. The list is introduced as "Why shop with us". You can change that wording on the Shopper copy screen for the cart, under "Announcements and errors" — it is heard, not seen.

Styling

Badges are small (12 pixel text, slightly dimmed) and wrap onto more lines rather than scrolling sideways, so a long set never pushes the checkout button out of reach on a phone. If you want them to look different, the Custom CSS screen for the cart can target badges, badges__item, badges__icon, badges__img and badges__text, which are class names this app promises not to rename.

Limitations

Because the badges do not travel to the storefront yet, publishing a cart that contains this module changes nothing for shoppers — it is safe, just ineffective. See Publishing for what does reach your store when you publish, and Troubleshooting if something you did publish is not showing up.