${function() {
const variantData = data.variant || {"id":"cbb7c500-2099-4d22-8802-8804820b9a2c","product_id":"a150bd35-0c08-4bff-8450-0175b7a6c1a2","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230619-E04-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eb24fefa3544a4728c078e2f8a49c32d.jpg","path":"eb24fefa3544a4728c078e2f8a49c32d.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=cbb7c500-2099-4d22-8802-8804820b9a2c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.