Payment Icons Under Add to Cart in Product Page

Topic summary

A user seeks to add payment icons (Visa, Mastercard, Amex, Apple Pay, Google Pay, Shopify Pay) below the β€˜Add to Cart’ button on product pages, centered like those in their footer.

Proposed Solution:

  • Navigate to Shopify Admin β†’ Online Store β†’ Theme β†’ Edit code
  • Locate the theme.liquid file
  • Insert provided JavaScript code before the closing </body> tag
  • The code conditionally displays payment icons only on product pages using {% if template.name == 'product' %}

Implementation Issues:

  • Initial confusion about exact code placement within theme.liquid
  • One user successfully implemented the solution but reports the icons are not centered below the Add to Cart button

Current Status:
The discussion remains open. A support representative has requested store details and screenshots to troubleshoot the centering issue. The basic functionality works, but alignment refinement is needed.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Hello guys,

Can you help me add payment icons as they are in my footer under the add to cart button on my product page? I only want those to appear centered under the button: Visa, Mastercard, Amex, Apple Pay, Google Pay & Shopify Pay.

Website: shopcutify.com/blender

Thank you! Any help is appreciated!!

Hi @StoreHelpNeeded ,

Step 1: Go to Shopify Admin β†’ Online Store ->Theme β†’ Edit code

Step 2: Search file theme.liquid

Step 3: Insert the below code to file β†’ Save

{% if template.name == 'product' %}

{% endif %}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Can you please tell me where exactly I need to paste it? I am not getting the same results as you. At the bottom of the theme.liquid page?

Thank you

Hi @StoreHelpNeeded , Can you kindly share the details theme.liquid of your problem (screenshot/ record) with us? We will check it and suggest you a solution if possible.

Hi @StoreHelpNeeded ,
Step 1: Go to Shopify Admin β†’ Online Store ->Theme β†’ Edit code
Step 2: Search file theme.liquid

Step 3: Insert the below code to file β†’ Save

{% if template.name == 'product' %}

{% endif %}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

2 Likes

Please, can you inform where exactly this code script should be paste on the file theme.liquid? At the very end of the page?

Hi @Noavi24 , Paste it before the close body tag

1 Like

It worked but it is not centralized below the add to cart bottom.

Hi @Noavi24 , Can you kindly share the details of your problem and store link with us? We will check it and suggest you a solution if possible.