How can I add custom text and payment logos to my drawer cart?

Hi there! I’m trying to add custom text to my drawer cart but I’m not sure where to put the code. Please see the pictures for reference.

Would also like to add the payment option logos to the bottom in the drawer cart. Where in the cart code should I put it and how should it be structured?

Any possible help is greatly appreciated!

1 Like

@ccmannen

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

1 Like

Hi, sent you a direct message

1 Like

@ccmannen

yes please share CartDrawer code so i will update code

Hello @ccmannen ,

Would you like to try an app (with 60 Days FREE Trial - BFCM Deal) that helps you to fully customize your cart drawer?

With iCart, you can not only offer various discounts to your customers but also you can show upsell, cross-sell in your cart drawer. Please check the reference images.

@KetanKumar

{% include ‘breadcrumbs’ %}

{% if cart.item_count > 0 %}

{{ 'cart.general.title' | t }}

{{ 'cart.label.quantity' | t }}
{{ 'cart.label.total' | t }}

{% for item in cart.items %}

{{ item.product.title }} {% unless item.variant.title contains 'Default' %}

{{ item.variant.title }}

{% endunless %}

{% assign property_size = item.properties | size %}
{% if property_size > 0 %}
{% for p in item.properties %}
{% assign first_character_in_key = p.first | truncate: 1, ‘’ %}
{% unless p.last == blank or first_character_in_key == ‘_’ %}
{{ p.first }}:

{% if p.last contains ‘/uploads/’ %}
{{ p.last | split: ‘/’ | last }}
{% else %}
{{ p.last }}
{% endif %}


{% endunless %} {% endfor %} {% endif %}

{{ 'cart.general.remove' | t }}

{{ ‘cart.label.quantity’ | t }}

{% if item.original_line_price != item.line_price %} {{ item.original_line_price | money }} {% endif %}

{{ item.price | money }}

{% assign discounts_size = item.discounts | size %}
{% if discounts_size > 0 %}
{% for discount in item.discounts %}
{{ discount.title }}
{% endfor %}
{% endif %}

{% endfor %}
{% comment %} Optional, add a textarea for special notes - Your theme settings can turn this on or off. Default is on. - Make sure you have name="note" for the message to be submitted properly {% endcomment %} {% if settings.cart_notes_enable %}
{{ 'cart.general.note' | t }} {{ cart.note }}
{% endif %}

{{ 'cart.general.subtotal' | t }}

{{ cart.total_price | money }}

{% if cart.total_discounts > 0 %}
{% assign cartTotalDiscounts = cart.total_discounts | money %}

{{ 'cart.general.savings_html' | t: savings: cartTotalDiscounts }}

{% endif %} {{ 'cart.general.shipping_at_checkout' | t }}
{% if settings.enable_currencies %} {{ 'cart.general.orders_processed_in_currency_html' | t: currency: shop.currency }} {% endif %}
{% if settings.cart_terms_conditions_enable %}

{% if settings.cart_terms_conditions_link != blank %} {{ 'cart.general.terms_html' | t: url: settings.cart_terms_conditions_link }} {% else %} {{ 'cart.general.terms' | t }} {% endif %}

{% endif %}

{% if additional_checkout_buttons and settings.cart_additional_buttons %}

{{ content_for_additional_checkout_buttons }}
{% endif %} {{ 'cart.general.update' | t }} {{ 'cart.general.checkout' | t }}

{% else %}

{{ 'cart.general.title' | t }}

{{ 'cart.general.empty' | t }}

{{ 'cart.general.continue_browsing_html' | t }}

{% endif %}
1 Like

@ccmannen

yes please try this


{% include 'breadcrumbs' %}

{% if cart.item_count > 0 %}

{% else %}

{% endif %}

1 Like

@KetanKumar

It’s the same as before

1 Like

@ccmannen

yes please find this text

free Text here..

and update as you like

@KetanKumar Still not showing actually

@ccmannen

that is demo test not dynamic or sent theme zip code

1 Like

Where else should I add code to make it work?

@KetanKumar

1 Like

@ccmannen

yes please sent theme download and sent me