${function() {
const variantData = data.variant || {"id":"6253ff6c-679f-4ff5-9b07-3a19294ea59b","product_id":"5215af8a-0c31-482c-b212-86abf310f190","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHVNWX7r1-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8e35bb1306e3b80786e43a9888be5b9.jpeg","path":"a8e35bb1306e3b80786e43a9888be5b9.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"400","compare_at_price":"52","price":"36.89","retail_price":"52","available":true,"url":"\/products\/stylish-retro-lapel-tapestry-zipper-jacket?variant=6253ff6c-679f-4ff5-9b07-3a19294ea59b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":8};
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 : XHVNWX7r1-White-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"6253ff6c-679f-4ff5-9b07-3a19294ea59b","product_id":"5215af8a-0c31-482c-b212-86abf310f190","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHVNWX7r1-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8e35bb1306e3b80786e43a9888be5b9.jpeg","path":"a8e35bb1306e3b80786e43a9888be5b9.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"400","compare_at_price":"52","price":"36.89","retail_price":"52","available":true,"url":"\/products\/stylish-retro-lapel-tapestry-zipper-jacket?variant=6253ff6c-679f-4ff5-9b07-3a19294ea59b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}