How To Add Payment Icons on Shopify Product Page - eCommerce Thesis

How To Add Payment Icons on Shopify Product Page

Displaying payment icons on your Shopify product page is crucial for building customer trust and increasing conversions. These icons reassure shoppers that their preferred payment methods are accepted, making them more likely to complete their purchases. The good news is that you don’t need any coding skills or third-party apps to add payment icons to your Shopify product page. In this guide, we’ll show you a simple, step-by-step method to achieve this effortlessly.

Benefits of Adding Payment Icons on Shopify Product Page

✅ Boosts Trust & Credibility – Customers feel more secure when they see familiar payment options.
✅ Increases Conversion Rate – Shoppers are more likely to complete purchases when they know their preferred payment methods are available.
✅ Enhances User Experience – Clear payment options improve transparency and reduce hesitation.
✅ No Need for Coding or Apps – This method is simple, fast, and doesn’t require technical expertise or paid apps.

Steps to Add Payment Icons in Shopify

Step 1: Install the Latest Dawn Theme

To ensure the code works with the latest Shopify updates, we will use the Dawn theme.

  1. Go to Online Store in your Shopify admin.
  2. Scroll down to find themes and click Add Theme.
  3. Install Dawn 15.2.0 (or the latest version).
  4. Once installed, click Publish to activate the theme.

Now, refresh your product page to see the default layout before making changes.


Step 2: Open the Theme Editor

  1. In Shopify Admin, go to Online Store > Themes.
  2. Click Customize on your active theme.
  3. In the theme editor, click on the Dropdown and select Products > Default Product.
  4. If you have multiple product page templates, choose the one where you want to add the icons.

Step 3: Add a Custom Liquid Block

  1. Click on the Add Block (+) button.
  2. Select Custom Liquid.
  3. Click on the newly added Custom Liquid block.

Step 4: Add the Payment Icons Code

<style>
.icon-list-custom { max-width: 60rem; }
.icon-list-custom {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    margin: 0;
    gap: 8px;
    padding: 0;
    margin-top: -1rem;
}
</style>

<ul class="icon-list-custom" role="list">
{% assign enabled_payment_types = 'visa,master,apple_pay,paypal,google_pay' | split: ',' %}
{% for type in enabled_payment_types %}
    <li>{{ type | payment_type_svg_tag: 'icon-svg' }}</li>
{% endfor %}
</ul>

You will need to add a short snippet of Liquid code to display the payment icons.

  1. Copy the payment icons code
  2. Paste the code into the Custom Liquid block.
  3. Scroll down to see the payment icons appearing on your product page.

Step 5: Adjust Icon Position

  1. Drag and drop the Custom Liquid block to position it below the Buy Now button.
  2. Refresh the page to see the updated layout.

Step 6: Customize the Icons

By default, the following payment icons will appear:

  • Visa
  • MasterCard
  • PayPal
  • Apple Pay
  • Google Pay

If you want to add or remove payment icons:

  1. Click on the Custom Liquid block.
  2. Look for this section in the code: {"Visa", "MasterCard", "ApplePay", "PayPal", "GooglePay"}
  3. To add an icon, insert its name inside the brackets, separated by a comma. Example: {"Visa", "MasterCard", "ApplePay", "PayPal", "GooglePay", "UnionPay"}
  4. To remove an icon, simply delete its name from the list.
  5. Save the changes and refresh the product page.

Conclusion

Adding payment icons to your Shopify product page is a simple yet powerful way to enhance customer trust and boost conversions. By following this easy, no-code method, you can create a seamless shopping experience for your customers without relying on third-party apps. A clear display of accepted payment methods reassures shoppers and encourages them to complete their purchases. Implement this today and watch your Shopify store’s credibility and sales grow! 🚀💳