${function() {
const variantData = data.variant || {"id":"333af13e-411e-49b4-bd7e-90ae258c55a3","product_id":"9ff6fff2-5e92-46cb-8259-fbca4f4692f2","title":"usb 3.07","weight_unit":"kg","inventory_quantity":100,"sku":"MB03021-usb 3.07-A001156","barcode":"","position":2,"option1":"usb 3.07","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9758a124eeb58a80e044e966b8f555cd.jpeg","path":"9758a124eeb58a80e044e966b8f555cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"149","price":"49","retail_price":"149","available":true,"url":"\/products\/4-port-7-port-usb-3-0-2-0-hub-splitter-with-led-power-indicator-and-switch-30cm-cable?variant=333af13e-411e-49b4-bd7e-90ae258c55a3","available_quantity":100,"options":[{"name":"Color","value":"usb 3.07"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : MB03021-usb 3.07-A001156
${function(){
const variantData = data.variant || {"id":"333af13e-411e-49b4-bd7e-90ae258c55a3","product_id":"9ff6fff2-5e92-46cb-8259-fbca4f4692f2","title":"usb 3.07","weight_unit":"kg","inventory_quantity":100,"sku":"MB03021-usb 3.07-A001156","barcode":"","position":2,"option1":"usb 3.07","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9758a124eeb58a80e044e966b8f555cd.jpeg","path":"9758a124eeb58a80e044e966b8f555cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"149","price":"49","retail_price":"149","available":true,"url":"\/products\/4-port-7-port-usb-3-0-2-0-hub-splitter-with-led-power-indicator-and-switch-30cm-cable?variant=333af13e-411e-49b4-bd7e-90ae258c55a3","available_quantity":100,"options":[{"name":"Color","value":"usb 3.07"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}