VecomLab
OverviewShopify — $1/Month
English
English
  • Welcome
  • Help
  • Upgrade Shopify no code
    • Shrine Solutions
    • Loox Reviews
  • shopify theme setup
    • Dawn Theme Shopify
      • Dawn Theme Shopify: How to Add Your Own Social Media Icons
      • Dawn Theme Shopify: How to Add Payment Method Icons to the Cart Drawer
      • Dawn Theme Shopify: How to Change the (Continue Shopping) Link
  • Shopify and Facebook Foundations
    • Overview
    • Start
    • Dropshipping
    • Business Registration
    • Account Opening
    • Product Selection
      • Task #1: Product Research
    • Workspace
      • Task #2: Trello and Google Drive + Accesses
    • Store Creation
      • Task #3: Favicon & Logo Site & Logo Social & Social sharing image
      • Task #4: Shopify Account
      • Task #5: Domain
      • Task #6: Corporate Email with Yandex
      • Task #7: DSers Account
      • Task #8: Copywriting
      • Task #9: Manage Account
      • Task #10: Settings - Store details
      • Task #11: Settings - Payments
      • Task #12: Settings - Notifications
      • Task #13: Settings - Store languages
      • Task #14: Settings - Checkout
      • Task #15: Settings - Shipping and delivery
      • Task #16: Settings - Policies
      • Task #17: Online Store - Preferences
      • Task #18: Online Store - Navigation
      • Task #19: Online Store - Customize
      • Task #20: Online Store - Discounts
      • Task #21: Online Store - Edit Code
      • Task #22: Products
    • Social Media
      • Task #23: Facebook Page
      • Task #24: Instagram Account
    • Ad Account
      • Task #25: Facebook Ad Account
    • Apps
      • Task #26: Loox or Judge.me Product Reviews
      • Task #27: Klaviyo
      • Task #28: Tracktor By ShopPad
      • Task #29: Buy Me ‑ Sticky Buy Button
    • Ads Strategy
      • Task #30: Preparation and Launch of Test Advertising Campaign
    • Business Management
      • Task #31: Management
    • Customer Service
      • Task #32: FAQ's and CS Templates
Powered by GitBook
On this page
  • 1. Prepare the Icon in SVG Format
  • 2. Open the cart-drawer.liquid File in the snippets Folder
  • 2. Open the settings_schema.json File in the config Folder
  • 3. Enable the Checkbox in Theme Settings

Was this helpful?

  1. shopify theme setup
  2. Dawn Theme Shopify

Dawn Theme Shopify: 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 Dawn theme settings.

PreviousDawn Theme Shopify: How to Add Your Own Social Media IconsNextDawn Theme Shopify: How to Change the (Continue Shopping) Link

Last updated 5 days ago

Was this helpful?

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:

<div class="drawer__footer">

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

<!-- Cart Drawer List Payment -->

{%- if settings.payment_enable -%}
  <div class="footer__payment">
    <span class="visually-hidden">{{ 'sections.footer.payment' | t }}</span>
    <ul class="list list-payment CartDrawer-list-payment" role="list">
      {%- for type in shop.enabled_payment_types -%}
        <li class="list-payment__item">
          {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
        </li>
      {%- endfor -%}
    </ul>
 </div>
{%- endif -%}

Next, locate the <style> tag in this file and insert the following CSS code before the closing </style> tag, as shown in the screenshot:

.list-payment.CartDrawer-list-payment {
  display: flex;
  justify-content: center;
  margin-top: 10px;       /* adds top margin */
  margin-bottom: 0.5rem;  /* adds bottom margin */
  /* gap: 10px; */        /* can be enabled if you want spacing between the icons */
}

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:

.list-payment.CartDrawer-list-payment {
  display: flex;
  justify-content: center;
}

2. Open the settings_schema.json File in the config Folder

Find the line:

"name": "t:settings_schema.cart.name",

Paste the following code, as shown in the screenshot.

{
  "type": "checkbox",
  "id": "payment_enable",
  "default": true,
  "label": "t:sections.footer.settings.payment_enable.label"
},

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? — we’ll handle everything for you.

Contact us