${function() {
const variantData = data.variant || {"id":"6bad246e-992f-47cf-8f81-77f3c74f5016","product_id":"4174bab5-c07d-4c8e-8ff2-ece95a5d3d49","title":"Raw white off white-S","weight_unit":"g","inventory_quantity":50,"sku":"MWZX08016_W_S","barcode":"","position":1,"option1":"Raw white off white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02df6caf2863c1c87c6e1adf3392526d.jpeg","path":"02df6caf2863c1c87c6e1adf3392526d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"200","compare_at_price":"39.99","price":"24.99","retail_price":"39.99","available":true,"url":"\/products\/out-out-glitter-short-sleeve-t-shirt?variant=6bad246e-992f-47cf-8f81-77f3c74f5016","available_quantity":999999999,"options":[{"name":"Color","value":"Raw white off white"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":2};
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 : MWZX08016_W_S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"6bad246e-992f-47cf-8f81-77f3c74f5016","product_id":"4174bab5-c07d-4c8e-8ff2-ece95a5d3d49","title":"Raw white off white-S","weight_unit":"g","inventory_quantity":50,"sku":"MWZX08016_W_S","barcode":"","position":1,"option1":"Raw white off white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02df6caf2863c1c87c6e1adf3392526d.jpeg","path":"02df6caf2863c1c87c6e1adf3392526d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"200","compare_at_price":"39.99","price":"24.99","retail_price":"39.99","available":true,"url":"\/products\/out-out-glitter-short-sleeve-t-shirt?variant=6bad246e-992f-47cf-8f81-77f3c74f5016","available_quantity":999999999,"options":[{"name":"Color","value":"Raw white off white"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}