Add custom text to the cart drawer

Add custom text to the cart drawer

1. Open cart-drawer.liquid file
2. Add html at the highlighted area >>
Idea
<div class="message" style="background:#fff2d7;">
 <p style="padding: 5px;">YOU ARE ELIGIBLE FOR THE DISCOUNT OF 50%</p>
</div>



    • Related Articles

    • To display currency notification in cart drawer

      In cart-drawer.liquid: <div id="intl-cart-message" style="display: none; background:#730302; font-size: 12px; color: #ffffff; padding: 5px;"> We process all orders in Malaysian Ringgit (MYR) and you will be checkout using the most current exchange ...
    • Add “Description” title before the description on product page

      Add a custom liquid section in product page after add to cart button. Insert the following liquid in the custom liquid. {% if product.description != '' %} <br> <h3 style="color: #EC1C24; font-weight: 600;">DESCRIPTION & SPECIFICATIONS</h3> {% endif ...
    • How to make image-with-text image smaller

      In the custom css of the section, add in: .image-with-text .image-with-text__media-item.image-with-text__media-item--small img { height: 70%; width: 70%; margin: 15%; }
    • Add "Login" text next to account icon at the header

      In header.liquid: {% render 'icon-account' %} <span style= "margin: 8px 15px 0 5px; line-height: 5px; text-decoration:none;">Login</span>
    • Removing country/selector from mobile drawer menu

      From your Shopify admin dashboard, click on "Online Store" and then "Themes". Find the theme that you want to edit and click on "Actions" and then "Edit code". In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on ...