${function() {
const variantData = data.variant || {"id":"3894cff5-da50-47fe-97f8-c9094e0f154c","product_id":"dbbc4384-f452-4b2d-adeb-9f91fd8262a6","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH0a1fmTS-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11c6be6dc189b75b0cdaf11c453a6ae5.jpeg","path":"11c6be6dc189b75b0cdaf11c453a6ae5.jpeg","width":735,"height":735,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashion-printed-t-shirt?variant=3894cff5-da50-47fe-97f8-c9094e0f154c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
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 : XH0a1fmTS-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"3894cff5-da50-47fe-97f8-c9094e0f154c","product_id":"dbbc4384-f452-4b2d-adeb-9f91fd8262a6","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XH0a1fmTS-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11c6be6dc189b75b0cdaf11c453a6ae5.jpeg","path":"11c6be6dc189b75b0cdaf11c453a6ae5.jpeg","width":735,"height":735,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashion-printed-t-shirt?variant=3894cff5-da50-47fe-97f8-c9094e0f154c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}