Products / Pricing Table / Docs

Evergreen Pricing Table

Plan cards with a monthly/yearly switch, a "Most popular" badge and a feature checklist, for any website. One small script, no dependencies.

Keep your plans in a Google Sheet (or paste the rows into the page). Change a price in the sheet and every pricing table on your site updates.

What's in the download

File or folderWhat it's for
INSTALL.mdStep-by-step setup for Squarespace (every plan), WordPress, Wix, Webflow, Shopify, Ghost, Carrd and plain HTML
templates/pricing-template.csvSpreadsheet template. Open it in Google Sheets or Excel.
embed/Ready-to-paste snippets. Start here.
evergreen-pricing-table.zipThe WordPress plugin. Upload it under Plugins → Add New → Upload Plugin.
dist/pricing-table.min.jsThe compact script. Use it if you upload the file to your site.
dist/pricing-table.jsThe readable script, for anyone who wants to look inside
demo/index.htmlDouble-click to try it offline
LICENSE.txtWhat your license allows

The whole idea in two lines

<div data-pricing-table data-src="YOUR-PUBLISHED-GOOGLE-SHEET-CSV-LINK"></div>
<script src="pricing-table.min.js" defer></script>

Every option is another data- attribute on that div. See Options in INSTALL.md.

For developers

EvergreenPricing.init();                 // start any new pricing tables on the page
tableDiv.__ept.setPeriod("yearly");      // switch a table to yearly (or "monthly")

Questions or installation help: use the contact page at evergreencode.store.

Installation

Every install has the same two parts:

  1. Your plans: a Google Sheet (recommended), or rows pasted into the snippet.
  2. The snippet: one of the files in embed/, pasted where you want the pricing table.

Step 1: List your plans

Open templates/pricing-template.csv in Google Sheets (File → Import → Upload) or Excel. One row per plan, left to right in the order they should appear:

ColumnWhat goes in it
Plan (required)The plan name
MonthlyPrice per month, as a number: 29 or 29.99. Words like Free or Custom are shown as typed.
YearlyPrice per year: 290. Leave the whole column out if you only have one price.
DescriptionA short line under the name
FeaturesSeparate features with semicolons, or put each on its own line in the cell. Start one with - to show it as not included: 5 projects; Email support; - Phone support
ButtonButton text, like Start free trial (default: Get started)
LinkWhere the button goes: your checkout, sign-up or contact page
Monthly link / Yearly linkOptional. Different checkout links for each billing period.
BadgeOptional label on top of the card, like Most popular. A plan with a badge is highlighted.
HighlightOptional. yes to highlight a plan without a badge, or no to keep a badged plan plain.
NoteOptional small print under the price, like per user or + tax

Column names aren't picky: "Tier", "Price", "Annual", "What's included" and similar names also work. **double asterisks** make text bold in descriptions and features.

When both Monthly and Yearly have prices, a Monthly/Yearly switch appears, with a "Save X%" label worked out from your prices. Yearly prices are shown per month ("$24/month, $290 billed yearly") by default; add data-yearly-shows="year" to show "$290/year" instead.

  1. Click File → Share → Publish to web.
  2. Under Link, choose your sheet tab, change "Web page" to Comma-separated values (.csv), and click Publish.
  3. Copy the link it shows. It contains /pub? and ends in output=csv.

Use this link, not the address in your browser bar. A link ending in /edit won't work, and the table tells you so if you paste one by mistake. Changes in the sheet appear on your site within about 5 minutes.

Or paste the rows

Use embed/2-pasted-data-embed.html and replace the example rows between the two script tags with your own (the first row is the column names). From Excel or Google Sheets, you can select the cells, copy, and paste them straight in.

Step 2: Choose a snippet

File in embed/Use it when
1-google-sheet-embed.htmlOne paste that does everything: your sheet link plus the script. Easiest.
2-pasted-data-embed.htmlYou'd rather type your plans into the snippet than use a sheet.
3-site-wide-script.htmlYour builder has a site-wide footer code box. Paste it there once.
4-table-only.htmlThe script is already loaded (by file 3 or the hosted file) and you're adding a table.
5-hosted-file-embed.htmlYou can upload files to your site and want the shortest code.

Most builders only run custom code on the published page. If you see a blank box or code while editing, check the live page or preview.

Squarespace

Works on Squarespace 7.1 and 7.0, in any template, on every plan.

Core, Plus or Advanced plans (legacy Business and Commerce)

Add a Code Block where the pricing table should go and paste embed/1-google-sheet-embed.html (with your sheet link) or embed/2-pasted-data-embed.html (with your rows). In Fluid Engine, drag the Code Block wide: the cards sit side by side on wide blocks and stack on phones.

Basic plan (legacy Personal): no upgrade needed

Basic and Personal plans don't run Code Blocks or Code Injection, but Markdown Blocks accept HTML on every plan.

This is a widely used workaround, but Squarespace doesn't officially support it and could change how Markdown Blocks behave in the future.

  1. Upload the script file. Edit any text block, highlight a word, click the link icon, then File → Upload file, and upload dist/pricing-table.min.js. Remove the temporary link afterward. The file is now at /s/pricing-table.min.js.
  2. Load it from your footer. Click Edit, hover over the footer, click Edit Footer, add a Markdown block and paste: ``html <script src="/s/pricing-table.min.js" defer></script> `` If your site has no footer, put this line in a Markdown block on the pricing page instead.
  3. Add the table. Add a Markdown block where the table should go and paste the line from embed/4-table-only.html with your Google Sheet link. Keep it on one line.

Use the Google Sheet method with Markdown blocks. Don't paste rows or the whole script into a Markdown block, because Markdown can change symbols in them.

WordPress

  1. Go to Plugins → Add New → Upload Plugin, choose evergreen-pricing-table.zip, click Install Now, then Activate.
  2. Add a Shortcode block and use either: `` [evergreen_pricing src="YOUR-PUBLISHED-CSV-LINK"] ` or type your rows between the tags: ` [evergreen_pricing] Plan,Monthly,Yearly,Features,Button,Link,Badge Starter,19,190,1 site; Email support,Start,/signup?plan=starter, Pro,49,490,5 sites; Priority support,Start,/signup?plan=pro,Most popular [/evergreen_pricing]

Shortcode options: currency, locale, start, yearly_shows, accent, columns, footnote, class (same as the options below, with _ instead of -).

[evergreen_pricing src="…" currency="CAD" start="yearly" accent="#7b2cbf" footnote="All prices plus tax."]

The script only loads on pages that have a pricing table. If a caching or speed plugin breaks it, exclude pricing-table.min.js from its "delay JavaScript" or "combine JS" settings.

Wix

Add Embed Code → Embed HTML, paste embed/1-google-sheet-embed.html or embed/2-pasted-data-embed.html, and drag the element tall enough for the cards.

Webflow

Paste embed/3-site-wide-script.html into Site settings → Custom code → Footer code once, then add an Embed element with embed/4-table-only.html. Custom code needs a paid site plan.

Shopify

Online Store 2.0 themes: add a Custom Liquid section and paste embed/1-google-sheet-embed.html or embed/2-pasted-data-embed.html.

Ghost

Add an HTML card and paste embed/1-google-sheet-embed.html or embed/2-pasted-data-embed.html.

Carrd

Add an Embed element, set its type to Code, and paste embed/1-google-sheet-embed.html. Embeds need a Carrd Pro plan.

Any website (HTML)

Upload dist/pricing-table.min.js and use embed/5-hosted-file-embed.html.

Options

Add any of these to the <div data-pricing-table …> tag:

AttributeWhat it doesExample
data-srcYour published Google Sheet (CSV) or CSV file linkdata-src="https://docs.google.com/…output=csv"
data-currencyCurrency code for number prices (default USD)data-currency="GBP"
data-localeNumber style, e.g. de-DE for "19 €" (default: the visitor's)data-locale="en-CA"
data-startWhich billing period shows first: monthly (default) or yearlydata-start="yearly"
data-yearly-showsmonth (default, "$24/month, $290 billed yearly") or year ("$290/year")data-yearly-shows="year"
data-columnsCards per row on wide screens (default: number of plans, up to 4)data-columns="3"
data-accentColor for the switch, badge, highlighted card and buttonsdata-accent="#1d5c45"
data-footnoteA line under the cardsdata-footnote="Prices in USD. Cancel anytime."
data-text-monthly / data-text-yearlyRename the switch labelsdata-text-yearly="Annual"
data-text-saveThe savings label; {percent} is the numberdata-text-save="2 months free"
data-text-buttonDefault button textdata-text-button="Sign up"

Styling

Add to your site's custom CSS (Squarespace: Design → Custom CSS, available on every plan; WordPress: Appearance → Customize → Additional CSS):

[data-pricing-table] {
  --ept-accent: #1d5c45;       /* switch, badge, highlighted card, buttons */
  --ept-on-accent: #ffffff;    /* text on the accent color */
  --ept-card: #ffffff;         /* card background (default: see-through) */
  --ept-radius: 14px;          /* card corners */
  --ept-gap: 20px;             /* space between cards */
}

The table uses your site's font and text color automatically.

Troubleshooting

"The pricing table couldn't load." On your live site this message stays general. Open the page in the Squarespace editor or WordPress preview, or your browser's console, to see the exact reason. Most often it's a Google Sheet link that isn't the Publish to web → CSV link.

A price shows as text, not a number. Type only the number in the price column (29, not $29/mo). The currency symbol and "/month" are added for you.

No Monthly/Yearly switch. The switch appears when both price columns have at least one price.

Changes in my sheet don't show up. Google refreshes published sheets every few minutes. Wait, then reload.

Still stuck? Use the contact page at evergreencode.store. Installation help is included for 6 months.

Changelog

1.0.0 (2026-10-30)

First release.

  • Plan cards from a Google Sheet, a CSV file, or rows pasted into the page.
  • Monthly/yearly switch with an automatic "Save X%" label; yearly prices shown per month (billed yearly) or per year.
  • "Most popular" badge and highlighted card; feature checklist with not-included items; bold text.
  • Prices formatted for any currency and language; words like "Free" or "Custom" shown as typed.
  • One button per plan, with optional separate monthly and yearly links.
  • WordPress plugin: [evergreen_pricing] shortcode with a sheet link or rows typed between the tags.
  • Install guides for Squarespace (every plan, including Basic/Personal via Markdown Blocks), WordPress, Wix, Webflow, Shopify, Ghost, Carrd and plain HTML.
  • Keyboard and screen-reader support; respects reduced motion; shielded from site-wide styles.