${function() {
const variantData = data.variant || {"id":"a5a9f78a-3d11-4d28-bf72-5b67ea8f8aef","product_id":"485abfb5-bee3-4e9b-96c4-3625e3a5efb8","title":"claret_red-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4063251","barcode":"4063251","position":1,"option1":"claret_red","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6334ae1146491787b2af919a3fb9979c.jpeg","path":"6334ae1146491787b2af919a3fb9979c.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/one-shoulder-asymmetric-hem-color-block-striped-t-shirts?variant=a5a9f78a-3d11-4d28-bf72-5b67ea8f8aef","available_quantity":999999999,"options":[{"name":"Color","value":"claret_red"},{"name":"Size","value":"2xl"}],"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 : 4063251
Weight : 0.35kg
Barcode : 4063251
${function(){
const variantData = data.variant || {"id":"a5a9f78a-3d11-4d28-bf72-5b67ea8f8aef","product_id":"485abfb5-bee3-4e9b-96c4-3625e3a5efb8","title":"claret_red-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4063251","barcode":"4063251","position":1,"option1":"claret_red","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6334ae1146491787b2af919a3fb9979c.jpeg","path":"6334ae1146491787b2af919a3fb9979c.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/one-shoulder-asymmetric-hem-color-block-striped-t-shirts?variant=a5a9f78a-3d11-4d28-bf72-5b67ea8f8aef","available_quantity":999999999,"options":[{"name":"Color","value":"claret_red"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}