${function() {
const variantData = data.variant || {"id":"f57ed63f-6a6d-4225-b77d-e568f4ef635e","product_id":"56d9875d-43b0-4838-8f15-55466828ddc2","title":"navy-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230309398-navy-S","barcode":"","position":8,"option1":"navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f84e6a9109dbf6ce38665879bfe3cbbb.jpeg","path":"f84e6a9109dbf6ce38665879bfe3cbbb.jpeg","width":750,"height":750,"alt":"Ethnic Embroidered Round Neck Shirt","aspect_ratio":1},"wholesale_price":[{"price":36.75,"min_quantity":1}],"weight":"0.25","compare_at_price":"44","price":"36.75","retail_price":"44","available":true,"url":"\/products\/ethnic-embroidered-round-neck-shirt?variant=f57ed63f-6a6d-4225-b77d-e568f4ef635e","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"S"}],"off_ratio":16,"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.