Articles on: Shopify Badges and Setup

How to display the Sprout badge in cart drawer

This articles explains how you can display the Sprout badge in cart drawer.

Choose the theme where you want to apply the cart badge and go to "Edit code"

Type in "Cart" in filter files and look for "cart-drawer.liquid" under Snippets or Sections.

Paste this line of code <div id="SproutCartBadgeVintage" class="SproutCartBadgeVintage"></div> above or below the checkout button line. Do a quick search inside liquid by hitting "command + F" and search for "Button".

Don't forget to hit save! You should now be able to see the badge under or above your checkout button on your cart drawer. :)

You can also follow the same instructions on this video guide

Updated on: 11/06/2024

Was this article helpful?

Share your feedback


Thank you!