
Security is becoming more and more important with more business and transactions happening online. With more money traffic on the internet, the chances of theft are high as well. This is why making your website secure is very important. Add security badge to your store to build trust in your visitors, which in turn increases your customers. You can add security badge to your Shopify store, and you can choose a light or dark coloured one based on your preference.
There are two methods to add security badge to your store based on the type of theme you use for your storefront. Based on whether your store uses a sectioned theme or non-sectioned theme, the steps vary.
How to add security badge to your Shopify store: Sectioned themes
- Go to Online Store → Themes from your Shopify admin page.
- Select your theme and choose Actions → Edit code.
- Based on where you want to add a security badge on your store, accordingly, you can add the code in different places.
- If you want the badge in the header of your store, then find the header.liquid under Sections.
- If you want the badge in the footer of your store, then find the footer.liquid under Sections.
- In case you want the badge on your product page, then find the product-template.liquid under Sections.
- Also if you want the badge in your cart page, then find the cart-template.liquid or cart.liquid under Sections.
- Click the file where you want to add the code and add the code based on if you want the light coloured or dark coloured security badge in your store.
- For Light coloured badge, copy the following code:
<a href=”//www.shopify.com/pci-compliant?utm_source=secure&utm_medium=shop” title=”This online store is secured by Shopify” target=”_blank”><img src=”//cdn.shopify.com/s/images/badges/shopify-secure-badge-light-shadow.png” alt=”Shopify secure badge” /></a>
- For Dark coloured badge, copy the following code:
<a href=”//www.shopify.com/pci-compliant/?utm_source=secure&utm_medium=shop” title=”This online store is secured by Shopify” target=”_blank”><img src=”//cdn.shopify.com/s/images/badges/shopify-secure-badge-dark-shadow.png” alt=”Shopify secure badge” /></a>
- Make sure to Save and Close.
How to add security badge to your Shopify store: Non-Sectioned themes
- Go to Online Store → Themes from your Shopify admin page.
- Find your current theme, and then click Actions → Edit code.
- Based on where you want the security badge on your store, you can add the code in different places.
- If you want the security badge in either your header or your footer, then find the theme.liquid in Templates.
- In case you want the security badge on your product page, then look for product.liquid in Templates.
- Also, If you want the security badge on your cart page, then find the cart.liquid in Templates.
- Click the file where you want to add the code and add the code based on if you want the light coloured or dark coloured security badge in your store.
- For Light coloured badge, copy the following code:
<a href=”//www.shopify.com/pci-compliant?utm_source=secure&utm_medium=shop” title=”This online store is secured by Shopify” target=”_blank”><img src=”//cdn.shopify.com/s/images/badges/shopify-secure-badge-light-shadow.png” alt=”Shopify secure badge” /></a>
- For Dark coloured badge, copy the following code:
<a href=”//www.shopify.com/pci-compliant/?utm_source=secure&utm_medium=shop” title=”This online store is secured by Shopify” target=”_blank”><img src=”//cdn.shopify.com/s/images/badges/shopify-secure-badge-dark-shadow.png” alt=”Shopify secure badge” /></a>
- Make sure to Save and Close.