${function() {
const variantData = data.variant || {"id":"88d16df1-995b-4da0-8ef4-a98c78dcd749","product_id":"194692d5-4bf7-439b-9cc7-4bc7d7737d3b","title":"navy-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019307-navy-one size","barcode":"","position":2,"option1":"navy","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8304b48671e51ac77aa585b7b5baa4d.jpeg","path":"a8304b48671e51ac77aa585b7b5baa4d.jpeg","width":800,"height":800,"alt":"Chic sweater for niche design","aspect_ratio":1},"wholesale_price":[{"price":35.69,"min_quantity":1}],"weight":"0.5","compare_at_price":"68.63","price":"35.69","retail_price":"68.63","available":true,"url":"\/products\/chic-sweater-for-niche-design?variant=88d16df1-995b-4da0-8ef4-a98c78dcd749","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"one size"}],"off_ratio":48,"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.