${function() {
const variantData = data.variant || {"id":"043dbedb-b2a4-451c-be82-c12653c55227","product_id":"6304ac33-dfc2-41ca-b4eb-22375736dbd3","title":"white","weight_unit":"kg","inventory_quantity":4542,"sku":"","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/292c7efad60db6465e54deac3a98d407.jpg","path":"292c7efad60db6465e54deac3a98d407.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":259.9,"min_quantity":1}],"weight":"165","compare_at_price":"309.9","price":"259.9","retail_price":"309.9","available":true,"url":"\/products\/haima-series-522-30-42-20-04-001-automatic-mechanical-watch?variant=043dbedb-b2a4-451c-be82-c12653c55227","available_quantity":999999999,"options":[{"name":"522.30.42.20.04.001","value":"white"}],"off_ratio":16,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"043dbedb-b2a4-451c-be82-c12653c55227","product_id":"6304ac33-dfc2-41ca-b4eb-22375736dbd3","title":"white","weight_unit":"kg","inventory_quantity":4542,"sku":"","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/292c7efad60db6465e54deac3a98d407.jpg","path":"292c7efad60db6465e54deac3a98d407.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":259.9,"min_quantity":1}],"weight":"165","compare_at_price":"309.9","price":"259.9","retail_price":"309.9","available":true,"url":"\/products\/haima-series-522-30-42-20-04-001-automatic-mechanical-watch?variant=043dbedb-b2a4-451c-be82-c12653c55227","available_quantity":999999999,"options":[{"name":"522.30.42.20.04.001","value":"white"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}