${function() {
const variantData = data.variant || {"id":"ef7f55d7-fa59-4095-a0e5-e46d92ac076d","product_id":"895c7e18-70ee-4d24-9a21-fbf2bd4dcd2a","title":"red-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111066-red-M","barcode":"","position":9,"option1":"red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5409546550f6c67430f910dfd46d2d2a.jpeg","path":"5409546550f6c67430f910dfd46d2d2a.jpeg","width":1000,"height":1000,"alt":"Mori all-match cropped puff sleeve dress","aspect_ratio":1},"wholesale_price":[{"price":48.49,"min_quantity":1}],"weight":"0.3","compare_at_price":"57","price":"48.49","retail_price":"57","available":true,"url":"\/products\/mori-all-match-cropped-puff-sleeve-dress?variant=ef7f55d7-fa59-4095-a0e5-e46d92ac076d","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"M"}],"off_ratio":15,"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.