${function() {
const variantData = data.variant || {"id":"a39736ab-3115-4356-90eb-d731fcf2838f","product_id":"c4af9736-8ecd-4865-bad2-07a1d26ad37e","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027131707","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b807ce0879e54384ed117b39289aff0.jpeg","path":"7b807ce0879e54384ed117b39289aff0.jpeg","width":1200,"height":1600,"alt":"Buttoned Round Neck Vintage Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":18.11,"min_quantity":1}],"weight":"0","compare_at_price":"18.11","price":"18.11","retail_price":"18.11","available":true,"url":"\/products\/buttoned-round-neck-vintage-shirts-tops-9801?variant=a39736ab-3115-4356-90eb-d731fcf2838f","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"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":"a39736ab-3115-4356-90eb-d731fcf2838f","product_id":"c4af9736-8ecd-4865-bad2-07a1d26ad37e","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027131707","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b807ce0879e54384ed117b39289aff0.jpeg","path":"7b807ce0879e54384ed117b39289aff0.jpeg","width":1200,"height":1600,"alt":"Buttoned Round Neck Vintage Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":18.11,"min_quantity":1}],"weight":"0","compare_at_price":"18.11","price":"18.11","retail_price":"18.11","available":true,"url":"\/products\/buttoned-round-neck-vintage-shirts-tops-9801?variant=a39736ab-3115-4356-90eb-d731fcf2838f","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"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}
`
}()}