${function() {
const variantData = data.variant || {"id":"5470e0b0-1f10-4c77-9113-c622a77f0f37","product_id":"dd73d331-e635-40a8-9ff3-96ebc28f92ef","title":"White-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6355911","barcode":"6355911","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37572e3bbe49e3783582cacd3da39999.jpeg","path":"37572e3bbe49e3783582cacd3da39999.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.95,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"47.95","retail_price":"0","available":true,"url":"\/products\/fdc7ce7be4c3?variant=5470e0b0-1f10-4c77-9113-c622a77f0f37","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : 6355911
Weight : 0.2kg
Barcode : 6355911
${function(){
const variantData = data.variant || {"id":"5470e0b0-1f10-4c77-9113-c622a77f0f37","product_id":"dd73d331-e635-40a8-9ff3-96ebc28f92ef","title":"White-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6355911","barcode":"6355911","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37572e3bbe49e3783582cacd3da39999.jpeg","path":"37572e3bbe49e3783582cacd3da39999.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.95,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"47.95","retail_price":"0","available":true,"url":"\/products\/fdc7ce7be4c3?variant=5470e0b0-1f10-4c77-9113-c622a77f0f37","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}