Kamiwaza Studio

Guides · Claude Code

bundle cards

Single, Duo and Trio as cards, with the price on each and the colours inside the card the customer picks. Two taps instead of two dropdowns, and the saving is right there. Below, for free: how to build it with Claude Code and put it in your Shopify theme.

Bundle cards built from the guide: Single, Duo with the colours Butter, Sage and Rose inside, Trio, and an add to cart button with the price
Built from the guide, with a test mug
The bundle cards in the Mochi theme: Duo chosen, the colours inside it, and the price before the discount crossed out
The same idea in our Mochi theme
Start for free

kamiwazastudio.com/guide-bundle-cards

Step by step

six steps

Send the prompts one at a time and look at the result before the next. The [brackets] are yours to fill in.

  1. Build the cards as a preview

    Make an empty folder, open it in Claude Code and send this with your own product, packs and prices in the brackets. It builds a preview you can open in the browser, before anything touches your store.

    Prompt 1
    Build a preview of a bundle picker for my product page as one file, bundle.html, with its CSS and JavaScript inside and no libraries. Use this sample data: product [your product name]; packs [Single, Duo, Trio] with prices [29, 49, 69] and prices before the discount [none, 58, 87] in [EUR]; a short line under each pack name [1 piece / 2 pieces, save 15% / 3 pieces, save 20%]; a badge [Most popular] on [Duo]; colours [Butter, Sage, Rose].
    Layout: the packs are cards stacked inside one rounded box, and each card is a radio option: a round dot, the pack name with its short line under it, and the price on the right with the old price crossed out next to it. The selected card gets a tinted background and an accent border. The badge sits on the top edge of its card. The colours appear inside the selected card only, as round pills with the colour name, and move into the card the visitor picks. Under the box: a full width add to cart button that shows the price of the chosen pack. Start with [Duo] selected.
    Behaviour: a click anywhere on a card selects it; the cards work as a radio group with the arrow keys and a visible focus ring; the chosen colour stays when the pack changes; the button text and the price follow the choice. Without JavaScript, show one plain list of every pack and colour. On phones the same layout at full width, with tap targets at least 44 px high.
    Then open bundle.html in a headless browser, take screenshots on a computer and on a 390 by 844 phone with each pack selected, fix what does not match, and tell me which variables change the texts, the colours and the sizes.
  2. Make it yours

    Your colours, your font and your button text. The layout and the behaviour stay as they are. Already have a Shopify theme? You can skip this and use the add-on in step 5: it takes the look from your store.

    Prompt 2
    Change bundle.html to my brand: background [hex], text [hex], accent [hex], font [name, or keep the default], button text [Add to cart]. Keep the layout and the behaviour exactly as they are. Show me a screenshot before and after.
  3. Check it on your phone

    Most people buy on a phone. Check the cards there before you go on.

    Prompt 3
    Open bundle.html at 390 by 844 again and make sure every card, every colour pill and the button fit without sideways scrolling and can be tapped easily. Change only what is needed for phones.
  4. Set up the packs in Shopify

    In Shopify admin, open your product and add two options: Pack, with the values Single, Duo and Trio, and Color, with your colours. Give every variant its price, and a compare-at price where the pack is a deal, so the card can show the saving. No prompt here: this part is a few clicks in Shopify.

  5. Put it in your Shopify store

    The cards become a section of your theme that reads your real packs, colours and prices. Claude Code works on a copy of your theme and gives you a preview link, so the live store is never touched.

    Prompt 4
    Turn bundle.html into a section for my Shopify theme called bundle-cards, for the product page. Take the packs from my product option called [Pack] and the colours from the option called [Color] (both names as section settings), each card's price and price before the discount from the matching variant, and the short line and the badge from one block per pack. Send the chosen variant with the theme's product form, so Add to cart works. Use the money filter for every price and keep every text in settings. Work on a copy of my theme, never on the live one: pull my theme with Shopify CLI, add the section to the product template, push it as a new unpublished theme and give me the preview link.

    Want it in your store's style? Add this sentence at the end of the prompt above. Claude Code then reads your theme and uses its colours, fonts and buttons instead of the ones from the preview.

    Add-on
    After you pull my theme and before you write the section, read config/settings_data.json, the main CSS file and my product section. Use its colours, fonts, button style and corner radius, and its own classes and variables where they exist, so this looks like the rest of my store. Tell me in a few lines what you will reuse.
  6. When something looks off

    When something is off, fix one thing at a time.

    Prompt 5
    Something looks off: [describe what you see, for example the colours show in every card]. Find what causes it, fix only that and show me a screenshot before and after.

Tested on a fresh Claude Code session: the preview passed every check on a computer and on a phone, and the section passed Shopify's own theme check.

Full version

the complete buy box

The steps above give you the cards. The complete buy box is the whole buy section of our Mochi theme as one tested prompt, built in the style of your own store: Claude Code reads your theme first (colours, fonts, buttons, how your cart opens), shows you what it will reuse, and only then builds it, on a copy of your theme.

  • gallery with thumbnails that follows the chosen variant
  • title, price and the old price crossed out, ticked lines
  • bundle cards with your other options inside the chosen card
  • quantity and add to cart through your own cart drawer
  • secure checkout line with your payment icons and a perks row
  • a sticky add to cart bar on phones

€9 (US$10)

Paid once. The prompt as a file, for your own stores and for client stores. You need Shopify CLI; Claude Code helps you set it up.

The buy box of the Mochi theme: price with the old price crossed out, ticked lines and the bundle cards with the colours inside the chosen card

FAQ

questions

Do I need an app for bundles?

No. Single, Duo and Trio are variants of one product, with their own prices. The cards only show those variants in a clearer way, so there is no app and no monthly fee.

Is it really free?

Yes. Copy the prompts and use them for your own store or for clients. You only need a Claude plan with Claude Code.

Do I need to know how to code?

No. Claude Code writes the code. You fill in the brackets, look at the preview and set up the packs in Shopify.

Will it work with my theme?

The section brings its own small add to cart form, so it works in most themes. Claude Code adds it on a copy of your theme first, so you can check it before anything goes live.

Can I save the guide?

Yes. Press "Save as PDF" and choose Save as PDF in the print window.

rather have it ready?

Mochi has these cards built in, with a scroll story hero, a sticky buy bar on phones and our support. Paid once, one store license.