# store-credit

> Shows the customer's store credit balance and transactions.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/store-credit  
Updated: 2026-10-13

## Where it can go

- **Anywhere** on the page.
- **Out of place,** Smootify removes it from the page (the debugger reports it on .webflow.io): without Customer Accounts or a session; 2.0: without a credit account a zero balance and no transactions (1.x: removed), with body.has-store-credit / .no-store-credit.

## What it requires

- Shopify’s **customer accounts**, and `newCustomerAccountsPublicKey` in [`SmootifyUserOptions`](https://www.smootify.io/docs/reference/options).

## Attributes inside it

| Group | Attribute name | Values |
|---|---|---|
| [Loading](https://www.smootify.io/docs/reference/attributes/loading) | `skeleton` | 5 |
| [Store credit](https://www.smootify.io/docs/reference/attributes/store-credit) | `store-credit` | 7 |
| [Store credit (condition)](https://www.smootify.io/docs/reference/conditions/store-credit) | `if-credit` | 2 |

## Loading

Its code loads only on pages that have `store-credit`.
