${function() {
const variantData = data.variant || {"id":"eda8c72b-bba2-435f-9e28-e00c2d22c0c3","product_id":"a1ab26b9-9787-4891-ae1f-15dd3e03ffb3","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20210508-918-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d65320373f8530da0d2ba540b418d8be.webp","path":"d65320373f8530da0d2ba540b418d8be.webp","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/womens-basic-streetwear-plain-vacation-casual-daily-two-piece-set-tank-top-tracksuit-loungewear-jogger-pants-tops?variant=eda8c72b-bba2-435f-9e28-e00c2d22c0c3","available_quantity":999999999,"options":[{"name":"Color:\n\t\t\t\t\tWhite","value":"White"},{"name":"Size:","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.