Add points balance to your theme

Introduction

Embedding your customer's points balances into your store theme is a great way to make sure your customers know how many points they have! You can add this anywhere your site allows you to modify the HTML! 

Here's what we're covering:

Shopify

If you're a Shopify merchant, use the following code:

{% if customer %}
Your Points Balance: <span class="sweettooth-points-balance"></span>
{% endif %}
	
📝  Pro Tip:
Add this code into the theme.liquid file for best results as this will allow the points balance to show on all pages of your store.

Bigcommerce

If you're a Bigcommerce merchant, use the following code:

Your Points Balance: <span class="sweettooth-points-balance">(loading)</span>
	

Once you've added the code, it'll appear on your site depending on where you placed it, and replace the (loading) text with that customer's balance!

Note: modifying this feature is not supported by Smile support. If you need additional assistance to set up this feature, please contact your theme developer or reach out to support@smile.io and we can help you find an agency who can help!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.