${function() {
const variantData = data.variant || {"id":"9587f320-48df-4817-83c8-d4449c7b3321","product_id":"2ceed063-be67-4912-94fe-cae37d0958fd","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1423129215349342210","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/542884c361f3116def9c2ea4f8c63b6e.jpeg","path":"542884c361f3116def9c2ea4f8c63b6e.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/oversized-unisex-contrast-polos-sweatshirt?variant=9587f320-48df-4817-83c8-d4449c7b3321","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"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.
${function(){
const variantData = data.variant || {"id":"9587f320-48df-4817-83c8-d4449c7b3321","product_id":"2ceed063-be67-4912-94fe-cae37d0958fd","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1423129215349342210","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/542884c361f3116def9c2ea4f8c63b6e.jpeg","path":"542884c361f3116def9c2ea4f8c63b6e.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/oversized-unisex-contrast-polos-sweatshirt?variant=9587f320-48df-4817-83c8-d4449c7b3321","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}