Place a trust badge with shortcode
Place a trust badge at an exact position in your Shopify theme using its shortcode.
Turn on Product page in the trust badge editor when the app's built-in position works for your store. When you need the trust badge somewhere else — for example directly below the buy buttons — copy its shortcode and add the Samita Trust Badge app block at that exact position in your theme.
Where to find the shortcode
The shortcode is available in two places:
Trust badge table — open Sami Product Labels → Extra Features → Trust Badges. Copy the snippet from the Shortcode column of the trust badge you want to place.
Trust badge editor — click the row's edit action, open Placement, then click Copy in the Shortcode section.


Save the trust badge before copying its shortcode. An unsaved trust badge uses data-id="new", which will not render on your storefront.
Place the shortcode in your theme
Open the product template
Use the page selector at the top of the theme editor, then choose Products → Default product or another product template used by your store.
In the sections panel, expand Product information. The existing blocks — such as Title, Price, Buy buttons, and Description — show where the trust badge can be inserted.

Check the storefront
Open a product that uses the edited template and confirm that the trust badge appears in the expected position.
If it does not appear, verify that:
the trust badge is Active, not Draft;
the shortcode contains the saved trust badge's exact
data-id;the full
<div class="samitaPL-trustBadge" ...></div>snippet is in the Shortcode field;the product uses the theme template you edited;
the Samita Trust Badge block is visible and the theme changes were saved.
Built-in placement vs. shortcode
Product page
Turn on the switch in Placement to show the trust badge at the app's built-in position on all product pages. No theme editing is required.
Shortcode
Paste the saved trust badge's snippet into a Samita Trust Badge app block to control its exact position.
If you enable both methods on the same product template, the trust badge can appear twice. Use the product-page switch for the built-in position or the shortcode app block for a custom position.
Next steps
Create a trust badge — create the content and design before placing it.
Trust badge overview — manage saved trust badges and copy shortcodes from the table.
Need support?
If you run into any difficulty while following these steps, contact us at support@samita.io.
Last updated
Was this helpful?


