${function() {
const variantData = data.variant || {"id":"d731b1d5-f817-42d3-a9f2-6ea35e63af20","product_id":"fb9be625-0c91-4f24-9d03-209276030672","title":"Black-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017437508","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/708a75c5bb79d098cb10ab3d9ed8cf7d.jpeg","path":"708a75c5bb79d098cb10ab3d9ed8cf7d.jpeg","width":500,"height":500,"alt":"Women Embroidery Dress Long Sleeve Autumn Dress","aspect_ratio":1},"wholesale_price":[{"price":36.52,"min_quantity":1}],"weight":"0","compare_at_price":"36.52","price":"36.52","retail_price":"36.52","available":true,"url":"\/products\/women-embroidery-dress-long-sleeve-autumn-dress-5026?variant=d731b1d5-f817-42d3-a9f2-6ea35e63af20","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"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.
${function(){
const variantData = data.variant || {"id":"d731b1d5-f817-42d3-a9f2-6ea35e63af20","product_id":"fb9be625-0c91-4f24-9d03-209276030672","title":"Black-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017437508","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/708a75c5bb79d098cb10ab3d9ed8cf7d.jpeg","path":"708a75c5bb79d098cb10ab3d9ed8cf7d.jpeg","width":500,"height":500,"alt":"Women Embroidery Dress Long Sleeve Autumn Dress","aspect_ratio":1},"wholesale_price":[{"price":36.52,"min_quantity":1}],"weight":"0","compare_at_price":"36.52","price":"36.52","retail_price":"36.52","available":true,"url":"\/products\/women-embroidery-dress-long-sleeve-autumn-dress-5026?variant=d731b1d5-f817-42d3-a9f2-6ea35e63af20","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}