How to add the points balance to your theme

You have the option to embed your customer's points balance to your store theme. This is a great feature to add because it allows your customers to see their points balance while they are shopping around at your store.

To embed this feature into your store, you will use the following code:

Shopify:

{% if customer %}<br><li>Your Points Balance: <span class="sweettooth-points-balance">(loading)</span></li>
{% endif %}
Bigcommerce:
Your Points Balance: <span class="sweettooth-points-balance">(loading)</span>
	

Where you add the code may vary. In Shopify, we recommend that you add the code into the theme.liquid file.

Note: Modification of this feature is not supported by Smile.io support. If you need additional assistance to set up this feature, please contact your theme developer.  

Still need help? Contact Us Contact Us