The store

Sell physical and digital products, and bundles of them with courses, from your own site, with product and category pages, a cart, Stripe's checkout on your own page, and orders you fulfil, cancel and refund from Admin → Store, with emails, download links and Account → Orders for buyers.

Updated · 12 min read

Admin → Store sells from the site itself. You add products and categories; each gets a page at /products/… and /shop/…, built from the same blocks as any other page. Visitors put things in a cart and pay with Stripe's form on your own /checkout page. Paid orders arrive in Store → Orders, where you send them, cancel them or refund them, and buyers follow them in their account.

The store

Start from the sample products

A store with nothing in it starts with twelve sample products in five categories, led by the book Fit for Business in three editions. Between them they show every state a shop has: a bundle with a "was" price, a sold-out size, a sold-out product, low stock and a draft. So you can see how each one looks before you add your own.

Admin → Store marks each sample you haven't changed Sample. Choose Remove sample products to delete them. A sample you've changed is yours: it loses the badge and stays. Once removed, the samples don't come back.

Add a product

  1. Go to Admin → Store and choose New product.
  2. Give it a title, an address and a description. You write the description as it will look on the page.
  3. Add images from the media library. The first is the cover.
  4. Set a price, and a "compare at" price to show it on sale.
  5. Choose whether it's physical or digital, add tags, and set how it looks in search results and when shared.
  6. Set its status to Active to put it on sale.

A product can't go on sale without a price and a cover image. The editor says which one is missing.

A product that a lock names can't be deleted: a page, folder, answer or community space for the people who bought it, or a Locked block in a page. Deleting it lists up to three of them and suggests archiving it instead.

A digital product can carry a file to download: in its editor, File to download picks a PDF from the media library. Set that file to Private in Media, so only buyers with a link can open it.

Options and stock

A product can have up to three options, such as Size, Colour and Material, each with its values. Every combination is a variant with its own SKU, price, stock, weight and image, and you can stop selling any combination on its own. To change many at once, pick some rows, or none for all of them, and set the value once. A product has at most 100 combinations.

Tick Track stock to count what's left, and Keep selling when out of stock if you want orders to keep coming. Visitors see how many are left when stock is low, and a sold-out combination is greyed out.

Categories

Group products into categories, nested one level (Clothing → T-shirts) and put in the order you choose. Each category has its own image, description and search settings, its products in order, and how its page sorts them.

On /shop and every category page, visitors filter by option, price and what's in stock, and sort the list. Their choice is in the address, so a filtered list can be shared.

Currency, shipping, tax and codes

In Admin → Store → Settings:

  • set the currency every price is in (pounds by default) and whether prices include tax. Changing the currency relabels the amounts and converts nothing, and Settings says so before saving;
  • under Checkout, set where you ship: shipping zones, each a name and its countries, with up to five flat rates and an optional Free over amount;
  • choose whether Stripe Tax works out the tax, whether the cart takes discount codes and whether to ask for a phone number.

In Admin → Store → Discounts, choose New code for a percentage or an amount off, with a smallest order, a number of uses and a last day. Switch each code on or off.

What visitors see

A product's page has a gallery that works from the keyboard and by swipe, with full-screen zoom. It shows the price of the combination picked, with its "was" price, the options, a quantity and the description. You design the product page and the category page once in the editor, and every product and category uses them.

Product and category pages are rendered on your server, so search engines read them in full. They're listed in your sitemap and llms.txt files and found by site search. Draft and archived products have no public page.

Bundles

A bundle sells several things as one, at its own price: whole products (the buyer picks the size or colour), one particular variant, digital downloads and courses, each with a quantity. In a product's editor, set Kind to Bundle, then search for what to include, set how many of each, and fix a variant or leave it to the buyer. A bundle has its own title, images, description, price and page, like any product.

  • If bought separately is worked out from the items' prices today, so it's never out of date. It shows on the bundle's page only when it's more than the bundle's price, and the editor tells you what buyers save as you go.
  • A bundle is in stock only while every physical item in it is, and it has as many left as its scarcest item allows.
  • A bundle's page lists what's included, with a picker for each item whose option the buyer chooses, before or in the cart. A buyer who's signed in sees which items they already have. Every other product's page offers Get it in a bundle with the bundles that hold it.
  • Nothing is granted until Stripe confirms the payment. Then stock comes off each physical item, downloads appear in the order, and courses open on the buyer's account for good, so a bundle with a course asks the buyer to sign in before checkout. Physical items ship together.
  • Account → Orders shows what each bundle granted, with links to its courses.
  • A refund in full or a cancel takes back what the bundle granted: course access ends and download links stop. As with any order, stock goes back only when you cancel. On a partial refund you pick what to take back in the refund dialog. Taking back never removes a course the buyer has another way, such as through their plan.

A bundle can't hold another bundle, and a product or course that's in a bundle can't be deleted until you take it out. An item that's a draft, or a course that isn't published, shows on the bundle's page as no longer sold, without its picture or price. The sample store includes a bundle of two PDFs and the sample course. Product feeds leave bundles out for now.

Order bumps

An order bump is one more thing checkout offers with a tick box, like a workbook beside a course. In a product's editor, the Order bump card picks it: a download or a course with one variant, not the product itself. Give it a lower bump price if you like (above zero and below its own price) and the line the tick box says. The card tells you when checkout won't offer it right now: it's a draft, has no price, or its course isn't published.

  • Checkout offers the bump of the first item in the cart that has one, while it's on sale and in stock, and only when the buyer isn't already getting it: not in the cart already, in a bundle there, or (for a course) owned by a signed-in buyer.
  • Ticking adds it as one line at the bump price, or its own price if that's lower, as during a sale. Its price shows as "was" its own price when lower. It's paid in the same payment as the rest, and unticking takes out only that line.
  • The bump price holds only while the item that offered it is in the cart and the bump is still a single download or course. Otherwise it's an ordinary line at its own price, and the cart says the price changed.
  • If the total changes in another tab while the buyer pays, checkout asks them to look again rather than charge a different total.
  • The order line is granted, refunded and earns commission like any other, and is marked Added at checkout on the confirmation page, in Account → Orders and in Store → Orders.

Payment plans

A digital product or a course can be paid for in monthly payments, like a £24 course in three payments of £8. In its editor, the Payment plan card sets the number of payments (2 to 12) and what each costs, and shows what they add up to. Each payment has to cost less than the price, and together they have to come to at least the price, give or take a penny each when it doesn't divide evenly. A product with options can't have a plan.

  • The product's page, and a course's offer, say "or 3 monthly payments of £8.00 (£24.00 in all)" under the price. If the price rises past what the payments add up to, the plan comes off sale until it fits again.
  • When the cart holds that product alone, it offers How to pay: Pay in full, or the monthly payments, with what's due today and what follows. Anything else in the cart, an order bump included, means it's paid in full. Discount codes don't apply to a plan.
  • A plan goes on an account, so the buyer signs in before checkout. What they bought opens with the first payment, and Stripe takes the rest each month and stops after the last.
  • If a payment fails and Stripe's retries all fail too, what they bought is paused. While Stripe still holds the plan, the buyer is emailed a link to pay it, Account → Orders says a payment is due, with Pay it now, and paying it opens everything again. If Stripe stops the plan instead, what they bought stays closed for good, its unpaid payments are cancelled and no link is sent. Only a payment that completes the plan opens it again.
  • In Store → Orders, a plan's order shows each payment, paid or failed, a Paused badge while one is due, and an alert if a payment was taken after the last or after the plan stopped, so you can refund it.
  • Refund spreads the amount over the payments, newest first. Refunding everything that's been paid, or taking back what the order bought, cancels the payments still to come; any other partial refund leaves the plan running. If Stripe refunds part of the amount and then fails, the order says how much went back, and trying again asks only for the rest. Cancel stops the plan too.
  • An affiliate earns on every payment made inside the commission window, which starts with the first payment.

Checkout

Checkout takes payments once the server has Stripe's keys: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET and STRIPE_PUBLISHABLE_KEY. Use Stripe's test keys until you're ready.

Until then the shop works up to the payment, so you and your visitors can try it. Add to cart, Buy now, the cart and /cart use the real prices, stock and options, each marked "Preview: payments aren't connected yet". /checkout opens as it will look, with the order beside the contact, delivery and card fields, but the fields are switched off, Pay reads Preview only, and a line says nothing can be paid and no order is made. No order, payment or stock hold comes from the preview. As an admin you also see Connect Stripe there, with the settings still to set, and the Store checkout step in Admin → Setup says the same. Visitors never see those settings' names.

To hide buying until Stripe is connected instead, switch off Show a checkout preview while payments are off in Admin → Store → Settings → Checkout. Product pages then show no buy buttons, and /checkout says the shop isn't taking payments online yet. Once Stripe is connected, that switch is greyed out and checkout takes payments.

Visitors get Add to cart and Buy now on product pages. Add to cart opens the cart, and a cart button in your header shows the count. The cart, as a drawer or at /cart, lists each item with its quantity, a note for the seller, a field for a discount code when you take them, and the total. If a code can't be used, the field says why. If an item has sold out since it was added, checkout waits until Update cart takes it out.

On /checkout, Stripe takes the address, the shipping rate and the payment beside the order. Your server works out every price, total and stock figure; the browser only says what and how many.

An order is marked paid only when Stripe's webhook says so. The buyer then gets a confirmation email with what they bought and, for digital items, their download links.

Run the orders

Store → Orders lists every order once it's paid, or its bank payment is on its way, newest first; checkouts left unpaid stay out. Search by order number, name or email, and filter by To fulfil, Fulfilled, Refunded and Cancelled. An order's page shows its items and totals, the customer and their address, the payment (with a link to it in Stripe), and a timeline of everything that happened to it. Add notes to the timeline for your team; the buyer never sees them.

  • Mark fulfilled when it's on its way, with a tracking number and link if you have them. The buyer gets an email saying it's been sent, with the tracking. The order's fulfilled time and its timeline entry show the same moment. An order of downloads only is fulfilled as soon as it's paid.
  • Refund all or part of what's left. You see the amount and who it goes to before anything is sent, and Stripe sends the money back to the card or account they paid with. The order shows the refund once Stripe confirms it, usually within a minute, and the buyer gets an email. Until then it shows as Refund pending, and that money can't be refunded again. If Stripe doesn't answer, the order tells you it isn't known yet whether it refunded; trying again is safe, as Stripe won't make the same refund twice.
  • Cancel an order that hasn't been sent, with a reason. It can refund what's left and put back in stock what the order took.
  • Send download links to someone who bought downloads without an account, once their links have expired. They get an email with fresh ones.

Only admins can change an order, and each change is in the audit log. Viewers can read every order.

For buyers

A buyer who was signed in when they paid finds their orders in Account → Orders: where each one is, its tracking, its items and totals, and fresh download links. Links work for 7 days, and the account always has new ones. Downloads stop once an order is cancelled or refunded in full. On a payment plan they're paused while a payment is due, and come back once it's paid. Someone who checked out without signing in has the links in their emails, which tell them to reply for fresh ones; you send those from the order with Send download links.

Emails

The store's emails share one template, packages/emails/src/templates/order.tsx: the confirmation, sent, refunded, and fresh download links. They go out once email is set up (Email). Without it the store still works, the server logs each email it skipped, and fulfilling an order says the buyer wasn't emailed.

The funnel

Analytics → Store shows how many visitors viewed a product, added to their cart, started checkout and paid, over 7, 30 or 90 days, beside the orders, takings less refunds, the average order and the most viewed products with how often each was added and sold. A Bundles row shows how many paid orders had a bundle, their share of all paid orders and what the bundles sold for.

An order that starts from a paywall's Buy counts as that paywall's conversion once it's paid, under Store sales in its results, never as MRR. Only the products the paywall offered count, less their share of any discount.

Agents and events

Agents can list and read products, start a draft product or a draft bundle, read how bundles sell, and suggest a new description for a product, which waits in the product's editor until a person uses or dismisses it. They can also read a summary of the orders. No agent can publish a product, grant or take back what a bundle gave, or refund, cancel or fulfil an order.

Hooks and webhooks get order.paid, order.refunded, order.fulfilled and order.cancelled. See Hooks.

Something unclear or missing? Ask us and we'll answer, then fix the page.

Was this page helpful?

Built with Overlays