${function() {
const variantData = data.variant || {"id":"714f2a5a-15c8-4762-8646-1ee9708be4a3","product_id":"01b0b145-8adf-42c6-8cfe-628dca31804e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZSYS-23072612-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ecfc9d4a6b19eedf10b9703c4bf045e3.jpeg","path":"ecfc9d4a6b19eedf10b9703c4bf045e3.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.8","retail_price":"0","available":true,"url":"\/products\/gradient-fashion-geometric-polo-shirt-and-shorts?variant=714f2a5a-15c8-4762-8646-1ee9708be4a3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : ZSYS-23072612-Black-S
${function(){
const variantData = data.variant || {"id":"714f2a5a-15c8-4762-8646-1ee9708be4a3","product_id":"01b0b145-8adf-42c6-8cfe-628dca31804e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZSYS-23072612-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ecfc9d4a6b19eedf10b9703c4bf045e3.jpeg","path":"ecfc9d4a6b19eedf10b9703c4bf045e3.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.8","retail_price":"0","available":true,"url":"\/products\/gradient-fashion-geometric-polo-shirt-and-shorts?variant=714f2a5a-15c8-4762-8646-1ee9708be4a3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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}
`
}()}