${function() {
const variantData = data.variant || {"id":"6deb7a2f-566d-4537-9f43-1e3e669a5634","product_id":"98545919-0351-4e99-86b0-01d1628cefa1","title":"khaki-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210918634-khaki-L","barcode":"","position":7,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d463c47d4cd714950d6a47501e2bd402.jpeg","path":"d463c47d4cd714950d6a47501e2bd402.jpeg","width":800,"height":800,"alt":"Vintage V-Neck Knitted Cardigan Set Skirt","aspect_ratio":1},"wholesale_price":[{"price":64,"min_quantity":1}],"weight":"0","compare_at_price":"112.28","price":"64","retail_price":"112.28","available":true,"url":"\/products\/vintage-v-neck-knitted-cardigan-suit-skirt?variant=6deb7a2f-566d-4537-9f43-1e3e669a5634","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"L"}],"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.