${function() {
const variantData = data.variant || {"id":"37de6fd0-fcd1-47f0-ae3a-4170d016c6bf","product_id":"28a174c1-0dfb-4cb9-ad9a-ac6c927bf4b6","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"4690174","barcode":"4690174","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d963c0777cb17683294ad3d04af39d0e.jpeg","path":"d963c0777cb17683294ad3d04af39d0e.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/sexy-sleeveless-wave-point-maxi-dress-1?variant=37de6fd0-fcd1-47f0-ae3a-4170d016c6bf","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : 4690174
Weight : 0.4kg
Barcode : 4690174
${function(){
const variantData = data.variant || {"id":"37de6fd0-fcd1-47f0-ae3a-4170d016c6bf","product_id":"28a174c1-0dfb-4cb9-ad9a-ac6c927bf4b6","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"4690174","barcode":"4690174","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d963c0777cb17683294ad3d04af39d0e.jpeg","path":"d963c0777cb17683294ad3d04af39d0e.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/sexy-sleeveless-wave-point-maxi-dress-1?variant=37de6fd0-fcd1-47f0-ae3a-4170d016c6bf","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}