${function() {
const variantData = data.variant || {"id":"12bc988b-71a4-4af0-973d-f03064154566","product_id":"975c686c-249e-4009-9888-ddc8b11524e2","title":"white-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020508-white-s","barcode":"","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95421149f041834c44d4d8cf17f6cdfd.jpeg","path":"95421149f041834c44d4d8cf17f6cdfd.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=12bc988b-71a4-4af0-973d-f03064154566","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.