${function() {
const variantData = data.variant || {"id":"2d1ac91f-494a-48d0-ae8f-dc86e860a2d1","product_id":"1c4980aa-0e92-4521-afbf-7c0b1024fa39","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"HDE258520-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ca16bf10d003405466f83542232e47b.jpeg","path":"8ca16bf10d003405466f83542232e47b.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40.59,"min_quantity":1}],"weight":"0","compare_at_price":"49.59","price":"40.59","retail_price":"49.59","available":true,"url":"\/products\/womens-cute-cat-graphic-cat-mom-casual-waffle-hoodie-lv8p?variant=2d1ac91f-494a-48d0-ae8f-dc86e860a2d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"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":"2d1ac91f-494a-48d0-ae8f-dc86e860a2d1","product_id":"1c4980aa-0e92-4521-afbf-7c0b1024fa39","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"HDE258520-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ca16bf10d003405466f83542232e47b.jpeg","path":"8ca16bf10d003405466f83542232e47b.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40.59,"min_quantity":1}],"weight":"0","compare_at_price":"49.59","price":"40.59","retail_price":"49.59","available":true,"url":"\/products\/womens-cute-cat-graphic-cat-mom-casual-waffle-hoodie-lv8p?variant=2d1ac91f-494a-48d0-ae8f-dc86e860a2d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}