${function() {
const variantData = data.variant || {"id":"b851c72a-7fc1-4c07-91a2-0b9261bf6aa9","product_id":"0a9a7cbe-0ae5-4d7e-89f2-6b2cf71400f3","title":"Green-M\uff0856-58cm\uff09","weight_unit":"kg","inventory_quantity":1999,"sku":"2209302901-Green-M\uff0856-58cm\uff09","barcode":"","position":3,"option1":"Green","option2":"M\uff0856-58cm\uff09","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd8b5c98c2a6d0aec120630feece7c9c.jpeg","path":"cd8b5c98c2a6d0aec120630feece7c9c.jpeg","width":800,"height":800,"alt":"Qute Tassels Knitted Hat","aspect_ratio":1},"wholesale_price":[{"price":18.32,"min_quantity":1}],"weight":"0.14","compare_at_price":"32.71","price":"18.32","retail_price":"32.71","available":true,"url":"\/products\/qute-tassels-knitted-hat?variant=b851c72a-7fc1-4c07-91a2-0b9261bf6aa9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M\uff0856-58cm\uff09"}],"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.