MOB SDK
Option modes
Mode
Behavior
State
bundleId
bundleIdoptions
optionsoptionProducts
optionProductsselectableItems
selectableItemsselectedItemKeys
selectedItemKeysoptionSelections
optionSelectionsselectedVariants
selectedVariantstotalPrice
totalPricetotalPriceFormatted
totalPriceFormatteddiscountedPrice
discountedPricediscountedPriceFormatted
discountedPriceFormatteddiscountPercent
discountPercentcurrencyCode
currencyCodeallSelected
allSelectedallSelectedVariantsAvailable
allSelectedVariantsAvailableisAddingToCart
isAddingToCartaddToCartError
addToCartErrorisLoading
isLoadingerror
errordiscountConfig
discountConfigActions
formatPrice(amount)
formatPrice(amount)selectItem(optionIndex, itemKey)
selectItem(optionIndex, itemKey)setOptionSelection(optionIndex, optionName, value)
setOptionSelection(optionIndex, optionName, value)addToCart(redirectTarget?)
addToCart(redirectTarget?)Full example
Last updated
Was this helpful?
