${function() {
const variantData = data.variant || {"id":"a68aa2bb-8182-499a-b888-f34458966b8b","product_id":"53dbd81c-979f-47cd-85ac-cf0370579b6c","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272763-white-S","barcode":"","position":13,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3736fcff9814e89f9e37ec40d3c4981.jpeg","path":"e3736fcff9814e89f9e37ec40d3c4981.jpeg","width":800,"height":1000,"alt":"Women's one -character shoulder loose shirt","aspect_ratio":0.8},"wholesale_price":[{"price":32.85,"min_quantity":1}],"weight":"0.3","compare_at_price":"57.63","price":"32.85","retail_price":"57.63","available":true,"url":"\/products\/womens-one-character-shoulder-loose-shirt?variant=a68aa2bb-8182-499a-b888-f34458966b8b","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":43,"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.