${function() {
const variantData = data.variant || {"id":"0d956048-3d6b-42c0-b34b-594a34146e3a","product_id":"d8256d06-c0e2-47a9-bff6-7d99adf60087","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4894972","barcode":"4894972","position":9,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b5a6b5a6e325ec3f636ffe8f875e5786.webp","path":"b5a6b5a6e325ec3f636ffe8f875e5786.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.95","retail_price":"0","available":true,"url":"\/products\/3c0fadd8d160?variant=0d956048-3d6b-42c0-b34b-594a34146e3a","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"s"}],"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 : 4894972
Barcode : 4894972
${function(){
const variantData = data.variant || {"id":"0d956048-3d6b-42c0-b34b-594a34146e3a","product_id":"d8256d06-c0e2-47a9-bff6-7d99adf60087","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4894972","barcode":"4894972","position":9,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b5a6b5a6e325ec3f636ffe8f875e5786.webp","path":"b5a6b5a6e325ec3f636ffe8f875e5786.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.95","retail_price":"0","available":true,"url":"\/products\/3c0fadd8d160?variant=0d956048-3d6b-42c0-b34b-594a34146e3a","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}