${function() {
const variantData = data.variant || {"id":"98fe6e2c-e173-4c6f-943f-96dc8cef9dad","product_id":"b42ffb17-3a3f-42bc-a5d9-b9a98acd0a7e","title":"navy-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21050706-navy-s","barcode":"","position":5,"option1":"navy","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c4f371129fc634bc4b9376c2cdb898a.jpeg","path":"1c4f371129fc634bc4b9376c2cdb898a.jpeg","width":700,"height":1233,"alt":"Deep V-Neck Mini Dress","aspect_ratio":0.5677210056772101},"wholesale_price":[{"price":38.8,"min_quantity":1}],"weight":"0","compare_at_price":"52.29","price":"38.8","retail_price":"52.29","available":true,"url":"\/products\/deep-v-neck-mini-dress?variant=98fe6e2c-e173-4c6f-943f-96dc8cef9dad","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"s"}],"off_ratio":26,"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.