${function() {
const variantData = data.variant || {"id":"72c311cc-7510-42cb-97db-261f9926f901","product_id":"804ffe39-7ee9-4089-a685-08a1e77848ee","title":"black-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210909971-black-3XL","barcode":"","position":1,"option1":"black","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd540493826864b5f3362861b5d6e62b.jpeg","path":"bd540493826864b5f3362861b5d6e62b.jpeg","width":750,"height":936,"alt":"One-Shoulder Bat Long Sleeve Top","aspect_ratio":0.8012820512820513},"wholesale_price":[{"price":30.23,"min_quantity":1}],"weight":"0","compare_at_price":"33.87","price":"30.23","retail_price":"33.87","available":true,"url":"\/products\/one-shoulder-bat-long-sleeve-top?variant=72c311cc-7510-42cb-97db-261f9926f901","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"3XL"}],"off_ratio":11,"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.