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: 30/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!