${function() {
const variantData = data.variant || {"id":"8f952639-919d-4a58-8db0-c0fcf2a0429d","product_id":"1eabd14d-1c5d-4d94-9f55-311d2801263b","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-231106-01-DW0110V9V2-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1a91dd0036decd9f4652d9c52cc4042.jpeg","path":"c1a91dd0036decd9f4652d9c52cc4042.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-christmas-tree-green-white-print-maxi-dress?variant=8f952639-919d-4a58-8db0-c0fcf2a0429d","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"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.