${function() {
const variantData = data.variant || {"id":"e3ac8ba9-bca3-4c3f-9e0a-2b8737df5da6","product_id":"4966e263-7d1b-4ca4-8075-2fd10cec0dc3","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"5910609","barcode":"5910609","position":1,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bce5102c862e55186d46087ea74e60e7.webp","path":"bce5102c862e55186d46087ea74e60e7.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.95,"min_quantity":1}],"weight":"0.23","compare_at_price":"51.47","price":"20.95","retail_price":"51.47","available":true,"url":"\/products\/7426bc49af39?variant=e3ac8ba9-bca3-4c3f-9e0a-2b8737df5da6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"s"}],"off_ratio":59,"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 : 5910609
Weight : 0.23kg
Barcode : 5910609
${function(){
const variantData = data.variant || {"id":"e3ac8ba9-bca3-4c3f-9e0a-2b8737df5da6","product_id":"4966e263-7d1b-4ca4-8075-2fd10cec0dc3","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"5910609","barcode":"5910609","position":1,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bce5102c862e55186d46087ea74e60e7.webp","path":"bce5102c862e55186d46087ea74e60e7.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.95,"min_quantity":1}],"weight":"0.23","compare_at_price":"51.47","price":"20.95","retail_price":"51.47","available":true,"url":"\/products\/7426bc49af39?variant=e3ac8ba9-bca3-4c3f-9e0a-2b8737df5da6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"s"}],"off_ratio":59,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}