${function() {
const variantData = data.variant || {"id":"b1fe53b3-0b0d-4df4-b45d-5a273219983e","product_id":"efa8f632-de68-4cc4-a464-5d758dabf9a1","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019337-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2be20fd05c0fd4fcaca16467b7c8f5a5.jpeg","path":"2be20fd05c0fd4fcaca16467b7c8f5a5.jpeg","width":800,"height":800,"alt":"Zipper half turtleneck loose casual sweater","aspect_ratio":1},"wholesale_price":[{"price":43.71,"min_quantity":1}],"weight":"0.5","compare_at_price":"74.08","price":"43.71","retail_price":"74.08","available":true,"url":"\/products\/zipper-half-turtleneck-loose-casual-sweater?variant=b1fe53b3-0b0d-4df4-b45d-5a273219983e","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":41,"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.