${function() {
const variantData = data.variant || {"id":"13b142bf-65c8-4854-ac4c-eb3352346776","product_id":"a6bbdbd2-9d31-4679-be6c-f67f07e9db20","title":"navy-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66230508838-navy-one size","barcode":"","position":1,"option1":"navy","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42357d689695b4d0bc47df8cd80503cb.jpeg","path":"42357d689695b4d0bc47df8cd80503cb.jpeg","width":1080,"height":1440,"alt":"Summer lapel japanese style loose dress","aspect_ratio":0.75},"wholesale_price":[{"price":65.49,"min_quantity":1}],"weight":"0.3","compare_at_price":"74","price":"65.49","retail_price":"74","available":true,"url":"\/products\/summer-lapel-japanese-style-loose-dress?variant=13b142bf-65c8-4854-ac4c-eb3352346776","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"one size"}],"off_ratio":12,"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.