${function() {
const variantData = data.variant || {"id":"ef211323-c42c-40e4-9a5a-f2932cb45be9","product_id":"b90f66aa-d033-4370-a171-7516d4682559","title":"Yellow","weight_unit":"kg","inventory_quantity":-1,"sku":"D302122100202","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf892f0aba8bfd3c970937c4e725fc4c.jpeg","path":"bf892f0aba8bfd3c970937c4e725fc4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":108,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"108","retail_price":"0","available":true,"url":"\/products\/petal-fringed-earrings-cushion-cut-gemstone-pink-yellow-blue-silver?variant=ef211323-c42c-40e4-9a5a-f2932cb45be9","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"ef211323-c42c-40e4-9a5a-f2932cb45be9","product_id":"b90f66aa-d033-4370-a171-7516d4682559","title":"Yellow","weight_unit":"kg","inventory_quantity":-1,"sku":"D302122100202","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf892f0aba8bfd3c970937c4e725fc4c.jpeg","path":"bf892f0aba8bfd3c970937c4e725fc4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":108,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"108","retail_price":"0","available":true,"url":"\/products\/petal-fringed-earrings-cushion-cut-gemstone-pink-yellow-blue-silver?variant=ef211323-c42c-40e4-9a5a-f2932cb45be9","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}