${function() {
const variantData = data.variant || {"id":"7592942f-cf96-4389-8011-4e8ac6bbf14d","product_id":"d67c6485-f2cf-4f02-9003-8855cb1d0f53","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0106-Black-S","barcode":"","position":2,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/051be625e6d312f404cc591825279c80.jpeg","path":"051be625e6d312f404cc591825279c80.jpeg","width":638,"height":749,"alt":"","aspect_ratio":0.8518024032042724},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.98","price":"23.98","retail_price":"38.98","available":true,"url":"\/products\/cotton-loosen-solid-linen-pants?variant=7592942f-cf96-4389-8011-4e8ac6bbf14d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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 : NC0106-Black-S
Weight : 0.3kg
${function(){
const variantData = data.variant || {"id":"7592942f-cf96-4389-8011-4e8ac6bbf14d","product_id":"d67c6485-f2cf-4f02-9003-8855cb1d0f53","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0106-Black-S","barcode":"","position":2,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/051be625e6d312f404cc591825279c80.jpeg","path":"051be625e6d312f404cc591825279c80.jpeg","width":638,"height":749,"alt":"","aspect_ratio":0.8518024032042724},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.98","price":"23.98","retail_price":"38.98","available":true,"url":"\/products\/cotton-loosen-solid-linen-pants?variant=7592942f-cf96-4389-8011-4e8ac6bbf14d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}