${function() {
const variantData = data.variant || {"id":"e248d99c-32a0-49c9-9c61-38b48c2c2a81","product_id":"d8bed792-b6ce-4652-8d83-978ca7c17940","title":"White-S","weight_unit":"kg","inventory_quantity":995,"sku":"NC0498-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59dd13f77466031bfeee550088dcc505.jpeg","path":"59dd13f77466031bfeee550088dcc505.jpeg","width":450,"height":600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.23","compare_at_price":"35.48","price":"23.98","retail_price":"35.48","available":true,"url":"\/products\/cotton-half-sleeve-solid-casual-tops?variant=e248d99c-32a0-49c9-9c61-38b48c2c2a81","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":2};
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 : NC0498-White-S
Weight : 0.23kg
${function(){
const variantData = data.variant || {"id":"e248d99c-32a0-49c9-9c61-38b48c2c2a81","product_id":"d8bed792-b6ce-4652-8d83-978ca7c17940","title":"White-S","weight_unit":"kg","inventory_quantity":995,"sku":"NC0498-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59dd13f77466031bfeee550088dcc505.jpeg","path":"59dd13f77466031bfeee550088dcc505.jpeg","width":450,"height":600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.23","compare_at_price":"35.48","price":"23.98","retail_price":"35.48","available":true,"url":"\/products\/cotton-half-sleeve-solid-casual-tops?variant=e248d99c-32a0-49c9-9c61-38b48c2c2a81","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}