${function() {
const variantData = data.variant || {"id":"349df6f7-afda-4537-9ce0-2f253b82901f","product_id":"5ae39dfb-6bf4-473e-a3de-33cbdb1514f2","title":"03-F","weight_unit":"kg","inventory_quantity":993605,"sku":"2209192583-03-F","barcode":"","position":3,"option1":"03","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62861f19e7df3cf4f1f819c938837e78.jpeg","path":"62861f19e7df3cf4f1f819c938837e78.jpeg","width":800,"height":800,"alt":"Alphabet Knit Tube Socks","aspect_ratio":1},"wholesale_price":[{"price":5.1,"min_quantity":1}],"weight":"0.05","compare_at_price":"5.56","price":"5.1","retail_price":"5.56","available":true,"url":"\/products\/alphabet-knit-tube-socks-5cse?variant=349df6f7-afda-4537-9ce0-2f253b82901f","available_quantity":999999999,"options":[{"name":"Color","value":"03"},{"name":"Size","value":"F"}],"off_ratio":8,"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.