${function() {
const variantData = data.variant || {"id":"45d68bb3-761a-4cf3-b9e6-0a4ced6199c5","product_id":"a32f3e51-9e21-45bb-9ea6-464a95db12c8","title":"Beige-One-Size","weight_unit":"kg","inventory_quantity":986,"sku":"X103-221028-26-VQSM2HW2NS-Beige-One-Size","barcode":"","position":4,"option1":"Beige","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fac49d062268226755836fccd6cca38f.jpeg","path":"fac49d062268226755836fccd6cca38f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0.2","compare_at_price":"5","price":"5","retail_price":"5","available":true,"url":"\/products\/winter-knitted-fleece-warm-neck-hat-scarf?variant=45d68bb3-761a-4cf3-b9e6-0a4ced6199c5","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"One-Size"}],"off_ratio":0,"flashsale_info":[],"sales":27};
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.