${function() {
const variantData = data.variant || {"id":"e5121378-371e-48d7-8ab0-5fc704c6acf6","product_id":"c40a2a5e-a134-4992-bb9e-b5fdc67a41f5","title":"army green-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230504617-army green-M","barcode":"","position":1,"option1":"army green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce8bac59d68f7b90347f9058cc5db141.jpeg","path":"ce8bac59d68f7b90347f9058cc5db141.jpeg","width":800,"height":800,"alt":"V-neck tank top front and back reversible sleeveless dress","aspect_ratio":1},"wholesale_price":[{"price":35.84,"min_quantity":1}],"weight":"0.45","compare_at_price":"48","price":"35.84","retail_price":"48","available":true,"url":"\/products\/v-neck-tank-top-front-and-back-reversible-sleeveless-dress?variant=e5121378-371e-48d7-8ab0-5fc704c6acf6","available_quantity":999999999,"options":[{"name":"color","value":"army green"},{"name":"size","value":"M"}],"off_ratio":25,"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.