Hey guys when using the DAWN THEME how can i add the payment icons under the add to cart button on all my products as shown in the photo below ? Thanks in advance guyss
https://mauro-milan.nl/collections/bestsellers/products/roma-set-white
A user asks how to display payment icons below the “Add to Cart” button on product pages in the Dawn theme.
Initial Solution:
buy-buttons.liquid file using a Liquid snippet that loops through enabled payment types and renders SVG icons.Alternative Method (for Dawn theme):
Since the buy-buttons.liquid file doesn’t exist in Dawn:
Follow-up Questions:
Both follow-up issues remain unresolved. The discussion demonstrates a working technical solution with implementation screenshots, though customization questions are still open.
Hey guys when using the DAWN THEME how can i add the payment icons under the add to cart button on all my products as shown in the photo below ? Thanks in advance guyss
https://mauro-milan.nl/collections/bestsellers/products/roma-set-white
Hi @Pietsharm93 ,
Here are the steps you can follow:
1, Navigate to Online Store > Themes > Edit Code.
2, Locate and open the buy-buttons.liquid file.
3, Paste the code snippet provided below right below the product-form, then save your changes.
{%- for type in shop.enabled_payment_types -%}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}
Like this
Here is the result
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
Looks great brother but i don’t have such file “buy-buttons.liquid” not anywhere i have a file that starts with buttons, noted that i use the dawn theme ? Should i paste this in assets or theme.liquid possibly?
If you couldn’t find the buy-buttons.liquid file, I have another way for you to add the payment icons to the product page.
Here are the steps you can follow:
1, Navigate to Online Store > Themes > Customize.
2, Locate and open the Default product template.
3, Add a Custom liquid block and drag it under the Buy buttons.
{%- for type in shop.enabled_payment_types -%}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}
Here is the result
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
This is really helpful, thanks. But how do I now edit the payment options within the image? We do not offer union pay or others. Thanks!
Hi there,
I’m using the Prestige theme and I implemented your suggestion right away. It worked, but there are several black dots appearing on the icons. Do you know how I can remove them?