${function() {
const variantData = data.variant || {"id":"0fc288ae-030a-4a09-84b9-265f01942662","product_id":"165f2519-83b2-4af2-ab55-1bd79edfc0fb","title":"Purple","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056277526","barcode":"","position":2,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84f418c4711de13b24d39247bd33a31b.jpeg","path":"84f418c4711de13b24d39247bd33a31b.jpeg","width":1200,"height":1600,"alt":"Casual Warm Plain Knee-Socks","aspect_ratio":0.75},"wholesale_price":[{"price":11.29,"min_quantity":1}],"weight":"0","compare_at_price":"11.29","price":"11.29","retail_price":"11.29","available":true,"url":"\/products\/casual-warm-plain-knee-socks-6971?variant=0fc288ae-030a-4a09-84b9-265f01942662","available_quantity":1000,"options":[{"name":"Color","value":"Purple"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0fc288ae-030a-4a09-84b9-265f01942662","product_id":"165f2519-83b2-4af2-ab55-1bd79edfc0fb","title":"Purple","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056277526","barcode":"","position":2,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84f418c4711de13b24d39247bd33a31b.jpeg","path":"84f418c4711de13b24d39247bd33a31b.jpeg","width":1200,"height":1600,"alt":"Casual Warm Plain Knee-Socks","aspect_ratio":0.75},"wholesale_price":[{"price":11.29,"min_quantity":1}],"weight":"0","compare_at_price":"11.29","price":"11.29","retail_price":"11.29","available":true,"url":"\/products\/casual-warm-plain-knee-socks-6971?variant=0fc288ae-030a-4a09-84b9-265f01942662","available_quantity":1000,"options":[{"name":"Color","value":"Purple"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}