${function() {
const variantData = data.variant || {"id":"83748854-213b-469d-a3fe-d5d2e28332a7","product_id":"cef67da7-3b5d-4f18-8388-52088ec6ad1a","title":"Yellow-s","weight_unit":"kg","inventory_quantity":1000,"sku":"7151271","barcode":"","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8191ceeefcacd1ff95bd5f9762082a0.jpeg","path":"c8191ceeefcacd1ff95bd5f9762082a0.jpeg","width":1230,"height":1231,"alt":"","aspect_ratio":0.9991876523151909},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"68.99","price":"34.99","retail_price":"68.99","available":true,"url":"\/products\/summer-vintage-short-sleeve-round-neck-embroidered-casual-maxi-dress-1?variant=83748854-213b-469d-a3fe-d5d2e28332a7","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"s"}],"off_ratio":49,"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":"83748854-213b-469d-a3fe-d5d2e28332a7","product_id":"cef67da7-3b5d-4f18-8388-52088ec6ad1a","title":"Yellow-s","weight_unit":"kg","inventory_quantity":1000,"sku":"7151271","barcode":"","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8191ceeefcacd1ff95bd5f9762082a0.jpeg","path":"c8191ceeefcacd1ff95bd5f9762082a0.jpeg","width":1230,"height":1231,"alt":"","aspect_ratio":0.9991876523151909},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"68.99","price":"34.99","retail_price":"68.99","available":true,"url":"\/products\/summer-vintage-short-sleeve-round-neck-embroidered-casual-maxi-dress-1?variant=83748854-213b-469d-a3fe-d5d2e28332a7","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"s"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}