${function() {
const variantData = data.variant || {"id":"0cf86fc8-6a8c-4fd4-868b-b1857091b3b5","product_id":"5e4a62f1-7d14-4537-a505-60f8aadf3e3f","title":"Black-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"6012-63848417-019100","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ecc1a09631702403ecd3a354fc8f28b.jpeg","path":"1ecc1a09631702403ecd3a354fc8f28b.jpeg","width":1597,"height":2395,"alt":"","aspect_ratio":0.6668058455114823},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"40","retail_price":"40","available":true,"url":"\/products\/6012-63848417-glitter-high-rise-leggings?variant=0cf86fc8-6a8c-4fd4-868b-b1857091b3b5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : 6012-63848417-019100
${function(){
const variantData = data.variant || {"id":"0cf86fc8-6a8c-4fd4-868b-b1857091b3b5","product_id":"5e4a62f1-7d14-4537-a505-60f8aadf3e3f","title":"Black-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"6012-63848417-019100","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ecc1a09631702403ecd3a354fc8f28b.jpeg","path":"1ecc1a09631702403ecd3a354fc8f28b.jpeg","width":1597,"height":2395,"alt":"","aspect_ratio":0.6668058455114823},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"40","retail_price":"40","available":true,"url":"\/products\/6012-63848417-glitter-high-rise-leggings?variant=0cf86fc8-6a8c-4fd4-868b-b1857091b3b5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}