${function() {
const variantData = data.variant || {"id":"ce404776-8221-484b-bb7a-626a1d5a71e1","product_id":"a150bd35-0c08-4bff-8450-0175b7a6c1a2","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"20230619-E04-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8768a7768cea578b9c9df796272c93eb.jpg","path":"8768a7768cea578b9c9df796272c93eb.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/new-summer-mid-length-dress-tricolor-loose-waist-pile-collar-cotton-linen-pure-color-short-sleeved-sweet-sheath-dress?variant=ce404776-8221-484b-bb7a-626a1d5a71e1","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.