Website guides

How to Sell Products on Ghost Alongside Your Memberships

By the Chargedeck team 7 min read

The short answer

Ghost's built-in payments are for memberships, which means paid subscriptions to your publication. To sell a product or a one-off offer, such as an ebook, a workshop seat or a print, you add a buy button that opens a separate checkout. In the Ghost editor that takes one HTML card.

This guide covers three placements (inside a post, across the whole site and in a newsletter), a worked example with the arithmetic, and the points where this setup stops.

Memberships and products are two different jobs

Ghost membershipsA product checkout
What the reader buysOngoing access to your publicationOne thing, once
How they payA subscription that renewsA single payment
Where you set it upInside GhostOn a checkout page, opened from a button in Ghost
ExamplesA paid newsletter, members-only postsAn ebook, a workshop seat, a call, a print, a one-off tip

Keep both. Memberships are the right tool for ongoing reader support, and nothing in this guide replaces them. The checkout used in the steps below is Chargedeck, a checkout page builder that takes payment on your own Stripe, PayPal or Square account. Chargedeck does not do subscriptions or recurring billing at all. It handles the right-hand column only.

What a publication can sell with a buy button

Each of these maps to something a checkout page can do:

  • An ebook or an essay collection. Add a delivery link, and buyers get it after paying.
  • A one-to-one call or a coaching session. A date and time picker lets the buyer choose a slot and pay in one step.
  • A print, a tote or a shirt. Offer sizes and colors with stock per option. Sold-out options show as sold out.
  • One-off support. A pay what you want page, with an optional minimum and a suggested amount, suits readers who want to chip in without subscribing. See our guide to pay what you want pricing.
  • A classified ad or sponsor slot in your newsletter. Use custom fields to collect the ad text and link with the order.

Placement 1: a buy button inside one post or page

First build the checkout page in Chargedeck and copy its link. The last part of that link is the page slug, which the snippet needs.

  1. Open the post or page in the Ghost editor and put the cursor where the button should appear.
  2. Type /html and press Enter. An HTML card opens.
  3. Paste the two lines below, with your own slug in place of your-page-slug.
  4. Publish or update the post.

<a data-chargedeck="your-page-slug">Buy now</a>

<script src="https://chargedeck.app/embed.js" defer></script>

On the published post the button opens the checkout in an overlay on top of the article, so the reader is not sent away from the piece they were reading. You can copy the snippet with your slug already filled in from the embed code generator.

What to write around the button

A button on its own gives the reader nothing to decide with. Put one or two sentences directly above it that cover three things:

  • What it is, in plain words: "All thirty essays in one PDF."
  • What it costs: "$15, one payment."
  • What happens next: "You get the download link as soon as you pay."

Placement 2: load the script once for the whole site

If the same offer will sit at the end of many posts, or you plan to sell more than one thing, stop pasting the script each time.

  1. In Ghost, go to Settings, then Code injection.
  2. Paste the script line into Site footer and save.
  3. From now on, an HTML card only needs the button itself.

The footer holds this, once:

<script src="https://chargedeck.app/embed.js" defer></script>

And each HTML card holds only this, with the slug of the product you are offering in that post:

<a data-chargedeck="your-page-slug">Buy now</a>

Ghost can send a post to your subscribers by email, and email apps do not run scripts. A snippet in an HTML card will not open an overlay inside an inbox. For anything that goes out as a newsletter, use the link method:

  1. Copy the link to your checkout page.
  2. In the editor, add a Button card.
  3. Type the button text and paste the checkout link as its URL.

The reader taps the button in the email and your checkout opens as a normal page in their browser. A text link in a sentence works the same way. The link is a payment link in its own right, so you can reuse it anywhere else you write.

Which placement to use where

Where the reader isUseWhat they see
One post or page on your siteHTML card with both linesCheckout in an overlay on the article
Many posts across your siteScript in Code injection, button line in each HTML cardCheckout in an overlay on the article
An email newsletterButton card or text linkCheckout opens as a page in the browser
A post that is both published and emailedButton cardWorks in both places

The Ghost checkout guide has the same snippets on one page for quick reference.

A worked example: an essay collection at the end of every post

Say you publish a free weekly essay and have gathered the best thirty into a PDF priced at $15. You build one checkout page with the price and a delivery link to the file. You add an order bump, a one-tap add-on shown right above the pay button: "Audio edition, all thirty essays read aloud" for $6.

The script goes into Code injection, the button line goes into an HTML card at the end of each essay, and Friday's newsletter gets a Button card with the link. Now the arithmetic for a month in which 30 readers buy and 10 of them add the bump:

  • Collection: 30 x $15 = $450.
  • Bump: 10 x $6 = $60.
  • Total taken: $510.
  • Card fees at Stripe's standard US online rate of 2.9% + 30 cents, as of November 2026: 2.9% of $510 is $14.79, plus 30 x $0.30 = $9.00, so $23.79. This goes to your processor.
  • Chargedeck Starter: $9.99 for the month, a flat fee that takes 0% of your sales.
  • Left for you: $510 minus $23.79 minus $9.99 is $476.22.

These are made-up sales figures to show the sums, not a forecast. To learn whether the site or the email did the selling, put a UTM tag on the newsletter link. UTM tags follow the order.

Where this setup stops

A buy button is a small addition to a publication, not a store system. Know the edges before you rely on it:

  • No subscriptions. Anything that renews belongs in Ghost memberships.
  • Two separate lists. A purchase does not make the buyer a Ghost member, and your checkout does not know who your members are. If you want buyers on your newsletter, invite them to sign up.
  • No discount codes. Chargedeck does not have coupon or discount codes, so a members-only code is not an option.
  • No tax calculation. Chargedeck does not calculate sales tax or VAT. Set tax-inclusive prices or handle it in your accounting.
  • No file hosting. The delivery link points to wherever you already keep the file, such as your cloud storage.
  • Refunds happen at your processor. You make them in your Stripe, PayPal or Square dashboard.

If what you really want is a platform that acts as the legal seller and handles sales tax, look at a merchant of record instead. Our guide to selling digital products without a marketplace explains that trade-off.

FAQ

Common questions

Does Ghost have ecommerce built in?

Ghost's own payments are built around memberships, meaning paid subscriptions to your publication. For products and one-off offers you add an outside checkout, which takes one HTML card or one Button card.

Does a buy button replace Ghost memberships?

No. Memberships stay in Ghost. Chargedeck is for selling products and one-off offers alongside them, and it does not do subscriptions.

Will the buy button work in a Ghost email newsletter?

Not the script version, because email apps do not run scripts. Use a Button card or a text link with your checkout link, and the checkout opens in the reader's browser.

What does it cost to add a checkout to Ghost?

Chargedeck has a 7-day free trial with no card needed, then a flat monthly fee from $9.99 that takes 0% of your sales. Card fees from your own Stripe, PayPal or Square account still apply. See the pricing page for the plans.

Keep reading

Related guides

Add a buy button to your next post

Build a checkout page, type /html in the Ghost editor and paste the snippet. Free for 7 days, no card.

See pricing