${function() {
const variantData = data.variant || {"id":"b27b1a8d-0f13-40d8-9d71-1d96ac888b6c","product_id":"8e659638-290b-4562-919d-4691092ddb10","title":"Black-6","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Black-6-A005915","barcode":"","position":1,"option1":"Black","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93584d0646b9febf8fd7cdcfa27b9af7.jpeg","path":"93584d0646b9febf8fd7cdcfa27b9af7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"85.99","price":"59.99","retail_price":"85.99","available":true,"url":"\/products\/winter-fleece-warm-shoes?variant=b27b1a8d-0f13-40d8-9d71-1d96ac888b6c","available_quantity":1000,"options":[{"name":"COLOR","value":"Black"},{"name":"SIZE","value":"6"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.