${function() {
const variantData = data.variant || {"id":"c24583d5-8053-4743-b4d8-aa89effef1df","product_id":"a88feb79-e4c3-47d3-8cfc-0b35dcf6265d","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2306273573-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4953dfe9afc67a9ed3b11061aa021df.jpeg","path":"d4953dfe9afc67a9ed3b11061aa021df.jpeg","width":800,"height":900,"alt":"Chic Lace-Up Shoulder Strap Solid-color Short Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":37.89,"min_quantity":1}],"weight":"0.28","compare_at_price":"55","price":"37.89","retail_price":"55","available":true,"url":"\/products\/chic-lace-up-shoulder-strap-solid-color-short-dress?variant=c24583d5-8053-4743-b4d8-aa89effef1df","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"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.