# DeprecatedProductDetailBuyboxPrice

# Props

Name Type Description
item required Object

# Data

Name Type Description Initial value
name string "ProductDetailBuyboxPrice"
selectedQty number 1
showTierPrices boolean false
addedItemId string ""
loaderState boolean false
addToCartSuccess boolean false
addToCartError string ""

# Computed Properties

Name Description
productData Dependencies: dataProduct
classesExcl Dependencies: priceSwitcherIncludeVat
classesIncl Dependencies: priceSwitcherIncludeVat
classesPriceBox Dependencies: itemIsSpecial, itemIsMinimal
itemIsMinimal
itemIsSpecial Dependencies: productIsSpecial, item
itemNameText Dependencies: item
itemTierPrices Dependencies: productGetTierPricesByGroupId, item
itemTierPriceMin Dependencies: itemTierPrices
itemHasTierPrices Dependencies: productHasTierPricesByGroupId, item
itemHasTierPricesMore Dependencies: itemTierPrices
itemTierPriceDiscount Dependencies: itemHasTierPrices, item, itemTierPriceMin
itemHasBasePriceAmount Dependencies: item
itemTaxClass Dependencies: getTaxClassByLabel, item
routeUrlProductImg Dependencies: item
attributeName Dependencies: productData

# Methods

# getPriceAndCurrency()

Syntax

getPriceAndCurrency(key: unknow, addVat: unknow): unknow
1

# getTierPriceAndCurrency()

Syntax

getTierPriceAndCurrency(price: unknow, addVat: unknow): unknow
1

# getTierPriceMinAndCurrency()

Syntax

getTierPriceMinAndCurrency(addVat: unknow): unknow
1

# getCheapPriceAndCurrency()

Syntax

getCheapPriceAndCurrency(addVat: unknow): unknow
1

# getBasePriceAmountText()

Syntax

getBasePriceAmountText(addVat: unknow): unknow
1

# getBasePriceAmountPrice()

Syntax

getBasePriceAmountPrice(addVat: unknow): unknow
1

# normalizeBasePriceAmount()

Syntax

normalizeBasePriceAmount(priceItem: unknow): unknow
1

# toggleTierPrices()

Syntax

toggleTierPrices(): void
1

# shouldShowTierPrice()

Syntax

shouldShowTierPrice(index: unknow): unknow
1

# addToCart()

Syntax

addToCart(): void
1

# gtmAddToCart()

Syntax

gtmAddToCart(): void
1