${function() {
const variantData = data.variant || {"id":"20b2ae32-1f8c-496e-b816-5674d6260a2e","product_id":"475eb36e-2da0-4823-acf0-5faab64a765e","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Khaki-S-A0018225","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7332d3624d2517f740d5339a9f5dc57a.jpeg","path":"7332d3624d2517f740d5339a9f5dc57a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.74","price":"29.99","retail_price":"36.74","available":true,"url":"\/products\/womens-casual-cowboy-christmas-printed-long-sleeve-sweatshirt?variant=20b2ae32-1f8c-496e-b816-5674d6260a2e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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.
Sku : YN-Khaki-S-A0018225
${function(){
const variantData = data.variant || {"id":"20b2ae32-1f8c-496e-b816-5674d6260a2e","product_id":"475eb36e-2da0-4823-acf0-5faab64a765e","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Khaki-S-A0018225","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7332d3624d2517f740d5339a9f5dc57a.jpeg","path":"7332d3624d2517f740d5339a9f5dc57a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.74","price":"29.99","retail_price":"36.74","available":true,"url":"\/products\/womens-casual-cowboy-christmas-printed-long-sleeve-sweatshirt?variant=20b2ae32-1f8c-496e-b816-5674d6260a2e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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}
`
}()}