${function() {
const variantData = data.variant || {"id":"5aa7f4a9-7b9d-42a3-9ea7-cdd9e976195e","product_id":"906921fd-7017-4c36-a6c2-8c036fbbf6e4","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"SDV000594_PC_S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab126efe10458761d4c4e433b4420ff2.jpeg","path":"ab126efe10458761d4c4e433b4420ff2.jpeg","width":3072,"height":4096,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/stylish-pure-cotton-hollow-lace-shirt?variant=5aa7f4a9-7b9d-42a3-9ea7-cdd9e976195e","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.