How would I add a trust Badge in the code?

New Member
27 0 0

I want to add a trust badge below my add to cart button, but I want it to be above my timer which is why I want to add it through the code. How would I add the trust badge through the code on the minimal standard theme?

483 36 91

Go into your product-template.liquid in your Sections folder. Find this line:


            <button type="submit" name="add" id="AddToCart" class="btn {{ btn_class }}{% if section.settings.enable_payment_button %} btn--secondary{% endif %}">
              <span id="AddToCartText">{{ 'products.product.add_to_cart' | t }}</span>

It's around line 210 if you havent made many changes to that template at all. You can put your HTML directly below that inside a div.