${function() {
const variantData = data.variant || {"id":"2a4b99f4-9988-44ab-905a-b98ba90fc8f3","product_id":"0f4dfc03-e0f8-4185-8a09-a4765c71ef75","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211091537-black-one size","barcode":"","position":2,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ed89b59c92ac097acc0544bfe9ff3a6.jpeg","path":"1ed89b59c92ac097acc0544bfe9ff3a6.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=2a4b99f4-9988-44ab-905a-b98ba90fc8f3","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.