${function() {
const variantData = data.variant || {"id":"eff4546b-5679-4dea-bb2e-478ea27df60d","product_id":"e8d98d5a-afc4-4853-be31-9b187f8aa288","title":"black 3.5mm","weight_unit":"kg","inventory_quantity":100,"sku":"YY12902-black 3.5mm-A001802","barcode":"","position":1,"option1":"black 3.5mm","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abafbc99970090bcb3da1736bf00b265.jpeg","path":"abafbc99970090bcb3da1736bf00b265.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":177,"min_quantity":1}],"weight":"0","compare_at_price":"531","price":"177","retail_price":"531","available":true,"url":"\/products\/lenovo-g25a-pro-wired-computer-game-headphones-with-50mm-drive-units-7-1-surround-sound-hifi-sound-quality-gaming-chip?variant=eff4546b-5679-4dea-bb2e-478ea27df60d","available_quantity":100,"options":[{"name":"Color","value":"black 3.5mm"}],"off_ratio":67,"flashsale_info":[],"sales":34900};
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 : YY12902-black 3.5mm-A001802
${function(){
const variantData = data.variant || {"id":"eff4546b-5679-4dea-bb2e-478ea27df60d","product_id":"e8d98d5a-afc4-4853-be31-9b187f8aa288","title":"black 3.5mm","weight_unit":"kg","inventory_quantity":100,"sku":"YY12902-black 3.5mm-A001802","barcode":"","position":1,"option1":"black 3.5mm","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abafbc99970090bcb3da1736bf00b265.jpeg","path":"abafbc99970090bcb3da1736bf00b265.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":177,"min_quantity":1}],"weight":"0","compare_at_price":"531","price":"177","retail_price":"531","available":true,"url":"\/products\/lenovo-g25a-pro-wired-computer-game-headphones-with-50mm-drive-units-7-1-surround-sound-hifi-sound-quality-gaming-chip?variant=eff4546b-5679-4dea-bb2e-478ea27df60d","available_quantity":100,"options":[{"name":"Color","value":"black 3.5mm"}],"off_ratio":67,"flashsale_info":[],"sales":34900};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}