Type Alias: SetPrice()
SetPrice: (
customPricing
) =>void
Use this method to set price, currency and delivery time in days (note delivery time only works if product is using MCP for pricing with the paremter enabled in the product admin panel). It accepts price object from API. It should be used in conjunction with Use Custom Pricing
enabled at embed snippet.
We recommend listening for this event mimeeq-price-change Events, so you know when to request the price from our API end point. Addtionally we reccomend using the price field loader to indicate when prices are being changed, see Events from Host Site
data-mimmeq-use-custom-pricing
Currently our modular product configurator does not accept price for components. You can only set the total price.
Parameters
• customPricing: PriceData
Mimeeq pricing data
Returns
void