${function() {
const variantData = data.variant || {"id":"3257b346-93a6-48dd-9a6c-16db817bc035","product_id":"2e5988cb-925a-41a7-9d29-6a1f4281f47b","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"00196177321229","barcode":"00196177321229","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"35","retail_price":"45","available":true,"url":"\/products\/short-n-sweet-underwear-set?variant=3257b346-93a6-48dd-9a6c-16db817bc035","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":22,"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.
Sku : 00196177321229
Barcode : 00196177321229
${function(){
const variantData = data.variant || {"id":"3257b346-93a6-48dd-9a6c-16db817bc035","product_id":"2e5988cb-925a-41a7-9d29-6a1f4281f47b","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"00196177321229","barcode":"00196177321229","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"35","retail_price":"45","available":true,"url":"\/products\/short-n-sweet-underwear-set?variant=3257b346-93a6-48dd-9a6c-16db817bc035","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}