${function() {
const variantData = data.variant || {"id":"8c20755e-1e64-4273-bb7e-0ff494a86fb3","product_id":"9ff6fff2-5e92-46cb-8259-fbca4f4692f2","title":"usb 3.04","weight_unit":"kg","inventory_quantity":100,"sku":"MB03021-usb 3.04 -A001155","barcode":"","position":1,"option1":"usb 3.04","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d610fb2d6263ad42081dbe34090c64b1.jpeg","path":"d610fb2d6263ad42081dbe34090c64b1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"105","price":"35","retail_price":"105","available":true,"url":"\/products\/4-port-7-port-usb-3-0-2-0-hub-splitter-with-led-power-indicator-and-switch-30cm-cable?variant=8c20755e-1e64-4273-bb7e-0ff494a86fb3","available_quantity":100,"options":[{"name":"Color","value":"usb 3.04"}],"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.04 -A001155
${function(){
const variantData = data.variant || {"id":"8c20755e-1e64-4273-bb7e-0ff494a86fb3","product_id":"9ff6fff2-5e92-46cb-8259-fbca4f4692f2","title":"usb 3.04","weight_unit":"kg","inventory_quantity":100,"sku":"MB03021-usb 3.04 -A001155","barcode":"","position":1,"option1":"usb 3.04","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d610fb2d6263ad42081dbe34090c64b1.jpeg","path":"d610fb2d6263ad42081dbe34090c64b1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"105","price":"35","retail_price":"105","available":true,"url":"\/products\/4-port-7-port-usb-3-0-2-0-hub-splitter-with-led-power-indicator-and-switch-30cm-cable?variant=8c20755e-1e64-4273-bb7e-0ff494a86fb3","available_quantity":100,"options":[{"name":"Color","value":"usb 3.04"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}