${function() {
const variantData = data.variant || {"id":"f6a339cd-f51d-4183-a258-a520190fc7eb","product_id":"fa440c2a-37cd-4c6d-a982-4e2eda0d9b25","title":"white","weight_unit":"kg","inventory_quantity":100,"sku":"FE11433-white-A001693","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9161c4a661ea7165f2ea4cefd738b849.jpeg","path":"9161c4a661ea7165f2ea4cefd738b849.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"0","compare_at_price":"189","price":"63","retail_price":"189","available":true,"url":"\/products\/lenovo-ht38-true-wireless-earphone-nice-gifts-for-friends-birthday-gift?variant=f6a339cd-f51d-4183-a258-a520190fc7eb","available_quantity":100,"options":[{"name":"Color","value":"white"}],"off_ratio":67,"flashsale_info":[],"sales":12330};
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : FE11433-white-A001693
${function(){
const variantData = data.variant || {"id":"f6a339cd-f51d-4183-a258-a520190fc7eb","product_id":"fa440c2a-37cd-4c6d-a982-4e2eda0d9b25","title":"white","weight_unit":"kg","inventory_quantity":100,"sku":"FE11433-white-A001693","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9161c4a661ea7165f2ea4cefd738b849.jpeg","path":"9161c4a661ea7165f2ea4cefd738b849.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"0","compare_at_price":"189","price":"63","retail_price":"189","available":true,"url":"\/products\/lenovo-ht38-true-wireless-earphone-nice-gifts-for-friends-birthday-gift?variant=f6a339cd-f51d-4183-a258-a520190fc7eb","available_quantity":100,"options":[{"name":"Color","value":"white"}],"off_ratio":67,"flashsale_info":[],"sales":12330};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}