${function() {
const variantData = data.variant || {"id":"ccf43310-b187-404a-a481-ef1e7b499bc1","product_id":"5cb22ba2-8ec7-4da7-87b3-d35b0a021f52","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS201178-YEW00S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d82173f28f30ce2f1536250f78ee0e6.jpeg","path":"6d82173f28f30ce2f1536250f78ee0e6.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.76","price":"20.99","retail_price":"28.76","available":true,"url":"\/products\/womens-flower-oil-painting-print-short-sleeve-v-neck-t-shirt-u1kf?variant=ccf43310-b187-404a-a481-ef1e7b499bc1","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"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":"ccf43310-b187-404a-a481-ef1e7b499bc1","product_id":"5cb22ba2-8ec7-4da7-87b3-d35b0a021f52","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS201178-YEW00S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d82173f28f30ce2f1536250f78ee0e6.jpeg","path":"6d82173f28f30ce2f1536250f78ee0e6.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.76","price":"20.99","retail_price":"28.76","available":true,"url":"\/products\/womens-flower-oil-painting-print-short-sleeve-v-neck-t-shirt-u1kf?variant=ccf43310-b187-404a-a481-ef1e7b499bc1","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}