# Members and member pricing

> How member rungs, members-only sets and member prices work under the hood, and what a theme's own cart, scripts and line properties see of them.

Source: https://www.luxesets.com/docs/members

> **For developers and agencies.** Merchants set membership up in the app with no code: see the help article
> [Members](https://www.luxesets.com/help/members). This page explains how it works, for anyone building around it.

## How membership is decided

A member is a **customer with any of the tags** the merchant lists on a rung or a set: the tag a loyalty app writes (directly or through Shopify Flow), or the merchant's own. Luxe stores only the merchant's tag names, never a customer's tags or any other customer data, and needs no extra access scope.

| Where             | Who reads the customer's tags                                                                                        |
| ----------------- | -------------------------------------------------------------------------------------------------------------------- |
| Storefront        | The Luxe app embed's Liquid, from `customer.tags`, matched without regard to capitals; a guest has none              |
| Checkout and cart | The Discount Function and the Cart Transform, which ask Shopify whether the cart's customer has the tags (`hasTags`) |
| Everywhere else   | Nobody. Tapcart, headless clients and AI agent channels read no customer, so they show and predict guest prices      |

Membership is never a line property or a cart attribute, so nothing a cart carries can claim it. A store can use up to 30 distinct member tags across its rungs and sets.

## What each feature does at checkout

| Feature                                                 | Priced by                                     | Members                                                                            | Everyone else                                                                             |
| ------------------------------------------------------- | --------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| Member rung: **Members unlock it sooner**               | The Luxe Rewards discount (Discount Function) | Reach the rung at the members' threshold                                           | Reach it at the rung's own threshold                                                      |
| Member rung: **Members only**                           | The Luxe Rewards discount                     | Can reach the rung                                                                 | The rung does not exist for them                                                          |
| Members-only Build-your-own or Fixed set                | The Cart Transform                            | The set price                                                                      | The same items, expanded at each item's own price, with every `_luxe_*` property as usual |
| Members-only Collection set                             | The Luxe Rewards discount                     | The set's pricing                                                                  | The lines' own prices                                                                     |
| **Everyone, members pay less**, Build-your-own or Fixed | The Cart Transform                            | The set's pricing with every price in it lowered by the saving                     | The set's pricing                                                                         |
| **Everyone, members pay less**, Collection set          | The Luxe Rewards discount                     | The set's pricing lowered by the saving (a percentage combines with the set's own) | The set's pricing                                                                         |

A member never pays more than anyone else in the same cart. A sale is never blocked: a non-member who reaches checkout with a members-only set pays the items' full prices. On a set bought on subscription, the member saving applies to the first delivery, as the set's price does; renewals are priced by the selling plan. "What never counts" can turn ladder rewards off for a member, never a member set price. Golden vectors pin every case in the storefront and both Functions.

## On the storefront

- **Members-only sets** are locked in Liquid: the Bundle set builder (or a Collection set's tray) renders inert, with the lock line in place of the Add button, or renders nothing when the merchant chose **Nothing from Luxe**. With JavaScript blocked the lock line replaces the no-JS form, so no form can add the set.
- **Member prices** are written by Liquid (the "Members pay" or "Members save" line, and for a member the member price with its label), so nothing moves when scripts start, and they show with JavaScript blocked.
- **Member rungs and the members' teaser.** On a store with member tags, the embed renders the tags the signed-in customer has, and a small members module rewrites the published rewards config for that customer exactly as the Discount Function does, before any Luxe view draws. The drawer, the rewards bar, the gift picker and upsell prices then plan for the member. Stores without member tags never download it.

A guest who signs in at checkout can only get more than the storefront promised, never less.

## What a theme's own cart sees

For stores on the theme's cart, a custom cart or a headless cart ([Using your own cart](https://www.luxesets.com/docs/own-cart)):

| What                      | With membership                                                                                                                                                                                                                                                                                                                                            |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Line properties           | Unchanged. No property says a line is member-priced, and members-only sets carry the same `_luxe_*` properties for everyone ([Line properties](https://www.luxesets.com/docs/line-properties#props))                                                                                                                                                       |
| Line prices in `/cart.js` | Shopify's, after the Functions ran for the cart's customer. For a signed-in member, a Build-your-own or Fixed set's line is already at the member price (the Cart Transform's price); a Collection set's saving and a member rung's reward are discount allocations of the Luxe Rewards discount, as a set's own saving is. For a guest, the public prices |
| The member saving         | Not a separate line or discount: it is inside the set's price (Cart Transform) or inside the set's discount allocation (Luxe Rewards). Show Shopify's numbers and the label your theme chooses                                                                                                                                                             |
| `window.Luxe.cart`        | Exists only with the Luxe cart drawer, and exposes nothing about membership: `ctx` is `{ cart, money, locale }`                                                                                                                                                                                                                                            |
| DOM events                | No `luxe:*` event carries membership                                                                                                                                                                                                                                                                                                                       |
| Customer events           | No [customer event](https://www.luxesets.com/docs/customer-events) carries membership or any customer data                                                                                                                                                                                                                                                 |
| Klaviyo storefront events | Carry `is_member` and `member_tier` when the merchant turns on Membership ([Klaviyo storefront events](https://www.luxesets.com/docs/klaviyo#properties))                                                                                                                                                                                                  |

The storefront predicts; only the Functions change prices. A theme that wants its own member messaging reads the customer in its own Liquid, for example `customer.tags contains 'tier: Gold'` with the merchant's tag.

A Rewards bar placed in a theme's cart (the block on the cart page, or the [recipe](https://www.luxesets.com/docs/theme-recipes#bar) in a theme drawer) plans for members like the Luxe drawer, and the members' teaser placed **By the checkout button** appears under the theme's checkout button on the cart page and in a theme drawer that shows the bar.

## Metafields

The audience and member pricing keys Luxe compiles into its metafields (on `kit_config`, `kit_tray` and the rewards ladder config) are internal: they exist for Luxe's Liquid and Functions, are not a public contract and can change in any release. Theme code should not read them. Read the customer's tags in Liquid instead, and show prices from Shopify's cart.

## Billing

Membership never changes what Luxe bills. A members-only set bought by a non-member at its items' full prices is still a Luxe-built set, and a member-priced set is billed like any other. No new line property was added for members.
