${function() {
const variantData = data.variant || {"id":"f001a246-39db-41d7-a7c1-da126d575ef8","product_id":"5c7fb95c-e3b5-4c7b-aeae-23c7381dcabe","title":"white-S","weight_unit":"kg","inventory_quantity":142,"sku":"TSNC4388-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c083d1cc5f2ae916bf1c802da5f72d40.jpeg","path":"c083d1cc5f2ae916bf1c802da5f72d40.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"55.98","price":"35.98","retail_price":"55.98","available":true,"url":"\/products\/womens-cotton-linen-lace-lapel-button-down-short-sleeve-shirt?variant=f001a246-39db-41d7-a7c1-da126d575ef8","available_quantity":142,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":36,"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 : TSNC4388-white-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"f001a246-39db-41d7-a7c1-da126d575ef8","product_id":"5c7fb95c-e3b5-4c7b-aeae-23c7381dcabe","title":"white-S","weight_unit":"kg","inventory_quantity":142,"sku":"TSNC4388-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c083d1cc5f2ae916bf1c802da5f72d40.jpeg","path":"c083d1cc5f2ae916bf1c802da5f72d40.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"55.98","price":"35.98","retail_price":"55.98","available":true,"url":"\/products\/womens-cotton-linen-lace-lapel-button-down-short-sleeve-shirt?variant=f001a246-39db-41d7-a7c1-da126d575ef8","available_quantity":142,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}