How would I add a trust Badge in the code?

Highlighted
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?

0 Likes
Astronaut
835 95 178

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>
            </button>

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. 

If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes