${function() {
const variantData = data.variant || {"id":"4f8752eb-ffe7-4ce3-90f1-032157423369","product_id":"975c686c-249e-4009-9888-ddc8b11524e2","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020508-black-s","barcode":"","position":9,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/470e6539350dcdefc514fda4862d4780.jpeg","path":"470e6539350dcdefc514fda4862d4780.jpeg","width":800,"height":1061,"alt":"Daily Round Neck A-Line Top","aspect_ratio":0.7540056550424128},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0","compare_at_price":"43.6","price":"23.98","retail_price":"43.6","available":true,"url":"\/products\/daily-round-neck-a-line-top?variant=4f8752eb-ffe7-4ce3-90f1-032157423369","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":45,"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.