${function() {
const variantData = data.variant || {"id":"c68b209d-3198-4829-b666-0d0a9133c074","product_id":"b979fccc-6170-4413-8df4-f179812a6515","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2302073914-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/062af6fd8f12eafa6a0676f50add66a3.png","path":"062af6fd8f12eafa6a0676f50add66a3.png","width":1000,"height":1300,"alt":"You Are Amazing Beautiful And Enough Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":34.67,"min_quantity":1}],"weight":"0.4","compare_at_price":"42","price":"34.67","retail_price":"42","available":true,"url":"\/products\/you-are-amazing-beautiful-and-enough-sweatshirt-497k?variant=c68b209d-3198-4829-b666-0d0a9133c074","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":17,"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.