${function() {
const variantData = data.variant || {"id":"d62fa9c7-f9f0-4486-a869-3a05bab849c3","product_id":"8d37f2f5-e4b3-407d-8554-e10ee3920c7d","title":"blue-S","weight_unit":"kg","inventory_quantity":997,"sku":"NC0192-blue-S","barcode":"","position":2,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b0163f19832d0b5dd1de932e3e396ee.jpeg","path":"1b0163f19832d0b5dd1de932e3e396ee.jpeg","width":450,"height":600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"32.89","price":"25.98","retail_price":"32.89","available":true,"url":"\/products\/solid-color-cotton-linen-pocket-wide-leg-pants?variant=d62fa9c7-f9f0-4486-a869-3a05bab849c3","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":21,"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 : NC0192-blue-S
Weight : 0.25kg
${function(){
const variantData = data.variant || {"id":"d62fa9c7-f9f0-4486-a869-3a05bab849c3","product_id":"8d37f2f5-e4b3-407d-8554-e10ee3920c7d","title":"blue-S","weight_unit":"kg","inventory_quantity":997,"sku":"NC0192-blue-S","barcode":"","position":2,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b0163f19832d0b5dd1de932e3e396ee.jpeg","path":"1b0163f19832d0b5dd1de932e3e396ee.jpeg","width":450,"height":600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"32.89","price":"25.98","retail_price":"32.89","available":true,"url":"\/products\/solid-color-cotton-linen-pocket-wide-leg-pants?variant=d62fa9c7-f9f0-4486-a869-3a05bab849c3","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}