${function() {
const variantData = data.variant || {"id":"a61744ba-9dd9-4d4b-881b-437fc3f7b55a","product_id":"d67c6485-f2cf-4f02-9003-8855cb1d0f53","title":"Blue-S","weight_unit":"kg","inventory_quantity":997,"sku":"NC0106-Blue-S","barcode":"","position":3,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58bd5ff7dc13b3c182b34b42ed5ea988.jpeg","path":"58bd5ff7dc13b3c182b34b42ed5ea988.jpeg","width":281,"height":374,"alt":"","aspect_ratio":0.7513368983957219},"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=a61744ba-9dd9-4d4b-881b-437fc3f7b55a","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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-Blue-S
Weight : 0.3kg
${function(){
const variantData = data.variant || {"id":"a61744ba-9dd9-4d4b-881b-437fc3f7b55a","product_id":"d67c6485-f2cf-4f02-9003-8855cb1d0f53","title":"Blue-S","weight_unit":"kg","inventory_quantity":997,"sku":"NC0106-Blue-S","barcode":"","position":3,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58bd5ff7dc13b3c182b34b42ed5ea988.jpeg","path":"58bd5ff7dc13b3c182b34b42ed5ea988.jpeg","width":281,"height":374,"alt":"","aspect_ratio":0.7513368983957219},"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=a61744ba-9dd9-4d4b-881b-437fc3f7b55a","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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}
`
}()}