PDP functions
The product details page (PDP) drop-in component provides two functions for retrieving the product details data to display: getProductData
and getRefinedProduct
.
getProductData
This function returns the product data for a given product sku
. It takes sku
as a parameter.
getRefinedProduct
A function that returns refined product’s data. It takes sku
, optionUIDs
, and isBundle?
as parameters.