Skip to content

Shopify app · Discounts and bundles · Every plan

Custom discounts and bundles Shopify can't do natively - without Shopify Plus

NERD Functions builds Shopify Functions with a rule editor instead of code. Volume breaks, cart thresholds, buy X get Y, any 5 for 60, mix and match and fixed bundles. It runs inside checkout, so it works however the item reached the cart. No Shopify Plus required.

What merchants build with it

Each page answers one question: what the offer is, how the rule is built, and which plan covers it.

Volume discounts and quantity breaks on Shopify

Create one discount function with a rule per tier: a line quantity condition and a percentage or fixed amount off. Shopify's checkout applies the highest matching tier automatically. Works on every Shopify plan.

Discount Basic

Discount when the cart total reaches a threshold

Create a discount function with an order discount rule and a cart total condition. Choose a percentage or a fixed amount. It applies automatically at checkout on every Shopify plan, and you can stack several thresholds as separate rules.

Discount Basic

Automatic discount on a collection, a tag, or specific products

Add a line condition on collection membership, product tags, or product or variant ids to a product discount rule. Every matching cart line gets the discount at checkout, on any Shopify plan, and you can combine the targeting with quantity or cart total conditions.

Discount Basic

Buy X get Y: cheapest item free or most expensive half price

Use a product discount rule with a quantity condition and set the target selection to cheapest matching or most expensive matching with a target quantity. Checkout picks the line to discount from the items that match your conditions. Works on every Shopify plan.

Discount Basic

Fixed price for a set of products

Use a product discount rule with the fixed price value type. When all the set's items are in the cart, the rule discounts them so their combined price equals your fixed total, spreading the difference proportionally across the lines. Works on every Shopify plan.

Discount Basic

Any 5 for 60: fixed-price packs from a collection

Use a discount function with variables and line groups: count eligible units, compute how many full packs of five fit, and apply a fixed price to that many units. Leftover units keep their price. This needs the Advanced plan and no Shopify Plus.

Discount Advanced

Discounts driven by product metafields or metaobjects

Yes. A rule's value can come from a product or variant metafield, and conditions can test metafield values. On the Advanced plan rules can also read synced metaobject entries, so a table of offers lives in Shopify admin and one function applies all of it.

Discount Basic

Discount an accessory that matches a product in the cart

Link the items through a product or variant metafield, condition the accessory lines on that link, and use aggregates and a variable to cap the discounted quantity at the number of main products in the cart. This needs the Advanced plan, not Shopify Plus.

Discount Advanced

Mix and match bundle shown as one line at checkout

Use a bundle (cart transform) function with a merge rule. The theme passes a few line item properties when adding each component, and the Function merges lines that share a bundle id into one bundle line, priced at a percentage off, a fixed price, or a fixed price per unit.

Bundle Basic

Fixed bundle that expands into its components at checkout

Use a bundle (cart transform) function with an expand rule. The component list lives in a product metafield on the bundle product. When that product is added, checkout expands the line into the component variants at the bundle's price. No theme changes, any Shopify plan.

Bundle Basic

How it works

  1. Start from a template or a blank function. Templates ship for volume discount, cart total discount, collection discount, mix and match bundle, fixed bundle.
  2. Write rules, not code. Conditions on quantity, cart total, collections, tags, products, variants, metafields, line item properties, cart attributes, sales channel. Actions set a percentage, a fixed amount, or a fixed price, or merge and expand cart lines.
  3. Test against a real cart. The test panel runs the rules with products from your store and shows exactly what checkout would do.
  4. Activate. The app writes the config onto a Shopify automatic discount or cart transform. Shopify's checkout runs it on every cart from then on.

Let your AI assistant build it

NERD Functions has an MCP server and Shopify Sidekick tools. Connect Claude, ChatGPT, or Cursor, describe the offer in plain words, and the assistant creates the rules, runs a test cart, and hands the function to you inactive for review. Nothing goes live without your confirmation.

Read the MCP server documentation

Plans

PlanBasicAdvanced
Price$29/month, or $299/year (save 14%)$49/month, or $499/year (save 15%)
Free trial7 days7 days
Discount functionsUp to 3Up to 25
Rules per discount functionUp to 10Up to 10
Bundle rules per bundle functionUp to 1Up to 10
Variables and line groupsNot includedIncluded
Metaobjects as rule dataNot includedIncluded
MCP access tokensUp to 1Up to 5
Development storesFree, all featuresFree, all features

Pricing details and plan FAQ

Common questions

Does NERD Functions work without Shopify Plus?

Yes. NERD Functions runs on every Shopify plan, including Basic, Shopify, and Advanced. Shopify Functions themselves are available to all plans; what used to need Plus was the ability to write and deploy a custom function. NERD Functions is that function, configured by rules.

What is a Shopify Function?

A Shopify Function is code that runs inside Shopify's checkout to change discounts, cart lines, delivery, or payment options. Functions run server-side and apply however an item reached the cart. NERD Functions ships two Functions, one for discounts and one for cart transforms (bundles), and lets you configure them with a rule editor instead of writing code.

What can I build with it?

Volume and quantity-break discounts, cart total thresholds, discounts on collections, tags, or specific products, buy X get Y with cheapest or most expensive item targeting, fixed prices for a set, fixed-price packs such as any 5 for 60, discounts driven by product metafields or metaobjects, mix and match bundles that merge into one bundle line, and fixed bundles that expand into their components at checkout.

How much does it cost?

Two paid plans: Basic at $29 per month or $299 per year, and Advanced at $49 per month or $499 per year. Both have a 7-day free trial. Development stores get every feature free.

What is the difference between Basic and Advanced?

Basic includes up to 3 discount functions and 1 bundle rule per bundle function. Advanced raises that to 25 discount functions and 10 bundle rules, and adds variables and line groups (needed for packs like any 5 for 60) and metaobjects as rule data.

All questions

Try it on your store

7-day free trial on every paid plan. Free on development stores. Everything you build starts inactive, so nothing changes at checkout until you say so.