${function() {
const variantData = data.variant || {"id":"9b947945-b1c4-4858-a46d-1523f66f166a","product_id":"a18ee352-6103-4197-b22a-b554950d7dd4","title":"Green","weight_unit":"kg","inventory_quantity":0,"sku":"{1011}-Green-A002649","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfec006b3c21ee1522cfdd652eb9a37b.jpg","path":"cfec006b3c21ee1522cfdd652eb9a37b.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"13.99","retail_price":"19.99","available":true,"url":"\/products\/\u590d\u5236bathroom-hair-dryer-wall-storage-rack?variant=9b947945-b1c4-4858-a46d-1523f66f166a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":30,"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":"9b947945-b1c4-4858-a46d-1523f66f166a","product_id":"a18ee352-6103-4197-b22a-b554950d7dd4","title":"Green","weight_unit":"kg","inventory_quantity":0,"sku":"{1011}-Green-A002649","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfec006b3c21ee1522cfdd652eb9a37b.jpg","path":"cfec006b3c21ee1522cfdd652eb9a37b.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"13.99","retail_price":"19.99","available":true,"url":"\/products\/\u590d\u5236bathroom-hair-dryer-wall-storage-rack?variant=9b947945-b1c4-4858-a46d-1523f66f166a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}