${function() {
const variantData = data.variant || {"id":"9e844ac0-29e9-4026-9983-21d49260b75f","product_id":"822b722f-52be-4ed1-a8b7-8bf0ad45ab49","title":"30\"x40\"-Sunshine","weight_unit":"kg","inventory_quantity":1000,"sku":"17592196335850","barcode":"","position":1,"option1":"30\"x40\"","option2":"Sunshine","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57f9ed30a092fc7106365d356eeb0ff5.jpeg","path":"57f9ed30a092fc7106365d356eeb0ff5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.69","retail_price":"0","available":true,"url":"\/products\/1pc-soft-and-lightweight-sunflower-blanket-for-adults-perfect-for-couches-sofas-and-weddings-ideal-gift-for-anniversaries?variant=9e844ac0-29e9-4026-9983-21d49260b75f","available_quantity":999999999,"options":[{"name":"Size","value":"30\"x40\""},{"name":"Style","value":"Sunshine"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"9e844ac0-29e9-4026-9983-21d49260b75f","product_id":"822b722f-52be-4ed1-a8b7-8bf0ad45ab49","title":"30\"x40\"-Sunshine","weight_unit":"kg","inventory_quantity":1000,"sku":"17592196335850","barcode":"","position":1,"option1":"30\"x40\"","option2":"Sunshine","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57f9ed30a092fc7106365d356eeb0ff5.jpeg","path":"57f9ed30a092fc7106365d356eeb0ff5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.69","retail_price":"0","available":true,"url":"\/products\/1pc-soft-and-lightweight-sunflower-blanket-for-adults-perfect-for-couches-sofas-and-weddings-ideal-gift-for-anniversaries?variant=9e844ac0-29e9-4026-9983-21d49260b75f","available_quantity":999999999,"options":[{"name":"Size","value":"30\"x40\""},{"name":"Style","value":"Sunshine"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}