1. What is Upselling?

Upselling is the practice of encouraging customers to purchase a higher-end or more premium version of the product they are considering, thereby increasing the overall value of the sale.

Unlike cross-selling, which involves suggesting complementary or related products alongside the original item, upselling focuses on boosting the quality or price point of the product itself.

2. Creating a Upsell Product

To create a product available for upselling, you need to add the upsellProduct field to the session configuration.

Upsell Example
const config = {
  // ...
  products: [
    {
      id: 'first_product_id',
      name: 'Base Product',
      price: {
        initial: 9.99,
        minimum: 7.99,
      },
      upsellProduct: {
        id: 'second_product_id',
        name: 'Upsell Product',
        price: {
          initial: 19.99,
          minimum: 17.99,
        },
      },
    }
  ]
};