${function() {
const variantData = data.variant || {"id":"50d2352e-e179-4eb8-908a-2e59ba9066f1","product_id":"059d75b5-0df0-4cb8-949a-fceb3d99fe4e","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Red-S-A00158178","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1dad207603dcfa0c2565746dd162997.jpeg","path":"c1dad207603dcfa0c2565746dd162997.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"28.99","retail_price":"45.99","available":true,"url":"\/products\/womens-love-heart-casual-hoodie?variant=50d2352e-e179-4eb8-908a-2e59ba9066f1","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"50d2352e-e179-4eb8-908a-2e59ba9066f1","product_id":"059d75b5-0df0-4cb8-949a-fceb3d99fe4e","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Red-S-A00158178","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1dad207603dcfa0c2565746dd162997.jpeg","path":"c1dad207603dcfa0c2565746dd162997.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"28.99","retail_price":"45.99","available":true,"url":"\/products\/womens-love-heart-casual-hoodie?variant=50d2352e-e179-4eb8-908a-2e59ba9066f1","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}