${function() {
const variantData = data.variant || {"id":"95636150-26a0-4220-b7b1-7b9b375c226d","product_id":"fda9c530-866b-43f6-a945-55b56eb90b15","title":"GREEN-S","weight_unit":"kg","inventory_quantity":999,"sku":"WD-334525","barcode":"","position":6,"option1":"GREEN","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc35cfee867f2a4486ebe5f22d2f383b.webp","path":"bc35cfee867f2a4486ebe5f22d2f383b.webp","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/yy03mbje12vm3?variant=95636150-26a0-4220-b7b1-7b9b375c226d","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"95636150-26a0-4220-b7b1-7b9b375c226d","product_id":"fda9c530-866b-43f6-a945-55b56eb90b15","title":"GREEN-S","weight_unit":"kg","inventory_quantity":999,"sku":"WD-334525","barcode":"","position":6,"option1":"GREEN","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc35cfee867f2a4486ebe5f22d2f383b.webp","path":"bc35cfee867f2a4486ebe5f22d2f383b.webp","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/yy03mbje12vm3?variant=95636150-26a0-4220-b7b1-7b9b375c226d","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}