${function() {
const variantData = data.variant || {"id":"94ac98b9-9ed8-471e-95f2-689b6db53cdf","product_id":"1bd4f597-8506-4e90-a825-ec8917cd75ca","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Brown S-36142874","barcode":"","position":9,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4cfce203252e9f0259de83e0d9240b88.jpeg","path":"4cfce203252e9f0259de83e0d9240b88.jpeg","width":800,"height":800,"alt":"New Fashion Suit Dress Women Knitted Long Sweater","aspect_ratio":1},"wholesale_price":[{"price":52.17,"min_quantity":1}],"weight":"0","compare_at_price":"52.17","price":"52.17","retail_price":"52.17","available":true,"url":"\/products\/new-fashion-suit-dress-women-knitted-long-sweater-208529852319?variant=94ac98b9-9ed8-471e-95f2-689b6db53cdf","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"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":"94ac98b9-9ed8-471e-95f2-689b6db53cdf","product_id":"1bd4f597-8506-4e90-a825-ec8917cd75ca","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Brown S-36142874","barcode":"","position":9,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4cfce203252e9f0259de83e0d9240b88.jpeg","path":"4cfce203252e9f0259de83e0d9240b88.jpeg","width":800,"height":800,"alt":"New Fashion Suit Dress Women Knitted Long Sweater","aspect_ratio":1},"wholesale_price":[{"price":52.17,"min_quantity":1}],"weight":"0","compare_at_price":"52.17","price":"52.17","retail_price":"52.17","available":true,"url":"\/products\/new-fashion-suit-dress-women-knitted-long-sweater-208529852319?variant=94ac98b9-9ed8-471e-95f2-689b6db53cdf","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"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}
`
}()}