Contour wand & Blush highlights wand duo
${function() {
const variantData = data.variant || {"id":"cda72188-f700-4ea3-abb3-59a0ed6a3a7c","product_id":"487f0de5-7464-433e-a138-77316aa0ab84","title":"#01-#03","weight_unit":"kg","inventory_quantity":0,"sku":"SLRSMXKM-0001+SLRSMXKM-0002","barcode":"","position":1,"option1":"#01","option2":"#03","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8370509011735acb80ff8211b6da4c8b.png","path":"8370509011735acb80ff8211b6da4c8b.png","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0","compare_at_price":"56.82","price":"28.98","retail_price":"56.82","available":true,"url":"\/products\/contour-wand-blush-highlights-wand-duo-s8gb?variant=cda72188-f700-4ea3-abb3-59a0ed6a3a7c","available_quantity":999999999,"options":[{"name":"Contour Blusher Color","value":"#01"},{"name":"Blusher Highlights Color","value":"#03"}],"off_ratio":49,"flashsale_info":[],"sales":19356};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Contour Blusher Color:
#01
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Blusher Highlights Color:
#03
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$28.98
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"cda72188-f700-4ea3-abb3-59a0ed6a3a7c","product_id":"487f0de5-7464-433e-a138-77316aa0ab84","title":"#01-#03","weight_unit":"kg","inventory_quantity":0,"sku":"SLRSMXKM-0001+SLRSMXKM-0002","barcode":"","position":1,"option1":"#01","option2":"#03","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8370509011735acb80ff8211b6da4c8b.png","path":"8370509011735acb80ff8211b6da4c8b.png","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0","compare_at_price":"56.82","price":"28.98","retail_price":"56.82","available":true,"url":"\/products\/contour-wand-blush-highlights-wand-duo-s8gb?variant=cda72188-f700-4ea3-abb3-59a0ed6a3a7c","available_quantity":999999999,"options":[{"name":"Contour Blusher Color","value":"#01"},{"name":"Blusher Highlights Color","value":"#03"}],"off_ratio":49,"flashsale_info":[],"sales":19356};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.