${function() {
const variantData = data.variant || {"id":"186fcb3a-c698-4534-be55-d79d8f50c518","product_id":"2d2d2b6a-ea8f-423d-8029-bddef54bd263","title":"light green-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111064-light green-M","barcode":"","position":9,"option1":"light green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b49c9b7f8847d349fa85afbd6d3ad154.jpeg","path":"b49c9b7f8847d349fa85afbd6d3ad154.jpeg","width":800,"height":800,"alt":"Round Neck Embroidered 3\/4 Sleeve Tie Dress","aspect_ratio":1},"wholesale_price":[{"price":47.69,"min_quantity":1}],"weight":"0.3","compare_at_price":"58","price":"47.69","retail_price":"58","available":true,"url":"\/products\/round-neck-embroidered-3-4-sleeve-tie-dress?variant=186fcb3a-c698-4534-be55-d79d8f50c518","available_quantity":999999999,"options":[{"name":"color","value":"light green"},{"name":"size","value":"M"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.