Five Shopify surfaces can produce something that looks like a bundle. The test that sorts them: where does it have to stay true? On the product page, in the cart, at checkout, in the order, in her reports.
Five ways to build it. A variant is one buyable version of a product, and a cart holds variants.
- Theme code. The storefront's Liquid files. Good for layout. Checkout never reads it, so it cannot change what is charged.
- Theme app extension. A button or widget an app adds to the storefront, which the merchant places in the theme editor. Storefront only.
- Function. Your code, run by Shopify at checkout to change prices or merge cart lines. No screen, no database: it sees the cart and metafields (custom fields on products and similar). It ships inside an app.
- Sidekick. The admin's AI assistant. On the Grow plan or higher it builds an app from a description. Those apps work only inside the admin, and cannot reach checkout, themes or Functions.
- A full app. Your own app with an admin page where the merchant sets things up. It stores data and can ship Functions and extensions. The most work.