${function() {
const variantData = data.variant || {"id":"b73386d4-5ea8-46b1-a650-528bcd663eb8","product_id":"be753ac2-722d-43e4-ad2e-09f8b5ff1659","title":"Photo Color-2XL","weight_unit":"g","inventory_quantity":999,"sku":"1565260923290509314","barcode":"","position":1,"option1":"Photo Color","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f579859b2cff73496d07e5d33205949.png","path":"4f579859b2cff73496d07e5d33205949.png","width":800,"height":800,"alt":"511555bbe0db284ffd097e5e0658bc33","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/clean-brooklyn-print-oakland-fleece-mens-sweatpants?variant=b73386d4-5ea8-46b1-a650-528bcd663eb8","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"2XL"}],"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":"b73386d4-5ea8-46b1-a650-528bcd663eb8","product_id":"be753ac2-722d-43e4-ad2e-09f8b5ff1659","title":"Photo Color-2XL","weight_unit":"g","inventory_quantity":999,"sku":"1565260923290509314","barcode":"","position":1,"option1":"Photo Color","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f579859b2cff73496d07e5d33205949.png","path":"4f579859b2cff73496d07e5d33205949.png","width":800,"height":800,"alt":"511555bbe0db284ffd097e5e0658bc33","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/clean-brooklyn-print-oakland-fleece-mens-sweatpants?variant=b73386d4-5ea8-46b1-a650-528bcd663eb8","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}