${function() {
const variantData = data.variant || {"id":"fcaaaed4-d78a-42dd-ada8-e8ee08a6fc9a","product_id":"85303e1b-d048-4438-a804-16cdd6d53894","title":"Blue-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"FN5055-1-OS","barcode":"","position":1,"option1":"Blue","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d9a49fd317e11fd668e69c50af9396fe.jpeg","path":"d9a49fd317e11fd668e69c50af9396fe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.49","retail_price":"0","available":true,"url":"\/products\/casual-patchwork-zipper-violin-messenger-bag?variant=fcaaaed4-d78a-42dd-ada8-e8ee08a6fc9a","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"One Size"}],"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":"fcaaaed4-d78a-42dd-ada8-e8ee08a6fc9a","product_id":"85303e1b-d048-4438-a804-16cdd6d53894","title":"Blue-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"FN5055-1-OS","barcode":"","position":1,"option1":"Blue","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d9a49fd317e11fd668e69c50af9396fe.jpeg","path":"d9a49fd317e11fd668e69c50af9396fe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.49","retail_price":"0","available":true,"url":"\/products\/casual-patchwork-zipper-violin-messenger-bag?variant=fcaaaed4-d78a-42dd-ada8-e8ee08a6fc9a","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}