${function() {
const variantData = data.variant || {"id":"50847da0-6d18-4f82-9481-2bd40e93b5c7","product_id":"50dc92ba-2f52-467d-8438-ca2b594aa852","title":"Red-200*70cm","weight_unit":"kg","inventory_quantity":5392,"sku":"2209192591-Red-200*70cm","barcode":"","position":1,"option1":"Red","option2":"200*70cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5abe7e9be46406a56b3ee5f55238820.jpeg","path":"d5abe7e9be46406a56b3ee5f55238820.jpeg","width":800,"height":800,"alt":"Classic Solid Color Cashmere Scarf","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"17.84","price":"9.99","retail_price":"17.84","available":true,"url":"\/products\/classic-solid-color-cashmere-scarf?variant=50847da0-6d18-4f82-9481-2bd40e93b5c7","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Length(cm)","value":"200*70cm"}],"off_ratio":44,"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.