Product Bundle Builder

The main component that combines all other components to create a complete product bundle builder.

Component Preview

The ProductBundleBuilder is a complex component that combines all the other components. For a full interactive preview, please visit the Example page.

Product Bundle Builder

Complete product bundle builder with all components

Universal Container

Universal Container

Multifunctional container with customization options to suit your needs

Base price: $1,200

Small
Base price
Medium
+$300
Large
+$600

Shipping Information

Delivery Instructions

Select how you want the container doors positioned during delivery:

Your Container Bundle

Universal Container

Universal Container

Base product

1

$1200

Medium

Medium

Size

+$300

White

White

Color

Included

Total Price:

$1,500

Usage

The ProductBundleBuilder is the main component that combines all other components to create a complete product bundle builder. It manages the state of selected options, shipping information, and delivery preferences, and calculates the total price.

Props

  • product - The base product object
  • modificationGroups - Array of modification groups
  • warehouses - Array of warehouse objects for shipping calculation
  • onAddToCart - Function called when the Add to Cart button is clicked

Component Structure

The ProductBundleBuilder is composed of the following components:

  • Product information display
  • ModificationGroup components for each group of options
  • ShippingCalculator for calculating shipping costs
  • DeliveryInstructions for selecting delivery preferences
  • CartSummary for displaying the selected options and total price