${function() {
const variantData = data.variant || {"id":"c3017b9d-49cb-4b6e-bffd-523314f49f97","product_id":"bc9f8c2a-0b4e-4c52-984f-a65c7a22b10d","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHUpVYlTh-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b13220bcc9fd91b1aab94979654eddd.jpeg","path":"2b13220bcc9fd91b1aab94979654eddd.jpeg","width":1467,"height":1467,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"40.89","retail_price":"77","available":true,"url":"\/products\/lose-my-number-t-shirt-and-trousers-two-piece-set?variant=c3017b9d-49cb-4b6e-bffd-523314f49f97","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XHUpVYlTh-Black-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"c3017b9d-49cb-4b6e-bffd-523314f49f97","product_id":"bc9f8c2a-0b4e-4c52-984f-a65c7a22b10d","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHUpVYlTh-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b13220bcc9fd91b1aab94979654eddd.jpeg","path":"2b13220bcc9fd91b1aab94979654eddd.jpeg","width":1467,"height":1467,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"40.89","retail_price":"77","available":true,"url":"\/products\/lose-my-number-t-shirt-and-trousers-two-piece-set?variant=c3017b9d-49cb-4b6e-bffd-523314f49f97","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}