Behio Storefront SDK
Catalog & Products

Bundles & Cross-sell

Product bundles, related products, and upsells

Bundles

Bundles are fixed sets of products sold together at a discounted price.

// List all active bundles
const { items: bundles } = await client.catalog.getBundles();

// Get bundle detail
const bundle = await client.catalog.getBundle('starter-pack');
// { id, name, slug, price, items: [...], isActive }

Add Bundle to Cart

const cart = await client.cart.addBundle('bundle-id', 1);

At checkout, bundle components are expanded into individual order items with proportional pricing.

Cross-sell

Get related, upsell, and cross-sell products for a specific product:

const result = await client.catalog.getCrossSell('wireless-headphones');

Response

{
  related: CrossSellItem[],    // Similar products
  upsell: CrossSellItem[],     // Higher-value alternatives
  crossSell: CrossSellItem[],  // Complementary products
}

Each CrossSellItem includes id, name, slug, price, and image.

On this page