How to Add Payment Method Icons to the Cart Drawer
A free guide on how to add payment method icons to the cart drawer, including enabling them via a checkbox directly in the Shopify Dawn theme settings.
Relevant for Dawn theme version 15.3.0

1. Prepare the Icon in SVG Format
Online Store → Themes → Edit code.
2. Open the cart-drawer.liquid File in the snippets Folder

Find the following line:
Paste the following code before the closing </div> tag, as shown in the screenshot:

Next, locate the <style> tag in this file and insert the following CSS code before the closing </style> tag, as shown in the screenshot:
If you want to adjust the spacing between the icons, simply remove the /* and */ around the line gap: 10px;.
What does gap: 10px; do?
It adds a small space between the payment icons, making the layout look cleaner. You can remove it or change the value to suit your design.
If you want to keep it simple, these styles are enough:
2. Open the settings_schema.json File in the config Folder

Find the line:
Paste the following code, as shown in the screenshot.
Save the changes.
3. Enable the Checkbox in Theme Settings

Go to Theme settings → Cart → Payment method icons.
Make sure the cart type is set to Drawer.
Need help with setup? Contact us — we’ll handle everything for you.
Last updated