${function() {
const variantData = data.variant || {"id":"f12ca47e-be12-4144-8f60-7d454ce12a18","product_id":"0f4dfc03-e0f8-4185-8a09-a4765c71ef75","title":"gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211091537-gray-one size","barcode":"","position":3,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38a187bd8f235ff88edc8033898ab061.jpeg","path":"38a187bd8f235ff88edc8033898ab061.jpeg","width":800,"height":1067,"alt":"Lazy Doll Sleeve Knit Shawl Sweater Cardigan","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.43","compare_at_price":"77.29","price":"45.6","retail_price":"77.29","available":true,"url":"\/products\/lazy-doll-sleeve-knit-shawl-sweater-cardigan?variant=f12ca47e-be12-4144-8f60-7d454ce12a18","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"one size"}],"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.