${function() {
const variantData = data.variant || {"id":"dea84be4-2ac4-4b87-9eba-291346ad3283","product_id":"86073650-9bb8-4f91-bbb9-5528c6a75eab","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"T55B-A132-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59f5dd96e6f48668e28ba43d7bccd97e.jpg","path":"59f5dd96e6f48668e28ba43d7bccd97e.jpg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"27.98","price":"12.98","retail_price":"27.98","available":true,"url":"\/products\/she-was-not-fragile-like-a-flower-t-shirt?variant=dea84be4-2ac4-4b87-9eba-291346ad3283","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":54,"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":"dea84be4-2ac4-4b87-9eba-291346ad3283","product_id":"86073650-9bb8-4f91-bbb9-5528c6a75eab","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"T55B-A132-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59f5dd96e6f48668e28ba43d7bccd97e.jpg","path":"59f5dd96e6f48668e28ba43d7bccd97e.jpg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0.25","compare_at_price":"27.98","price":"12.98","retail_price":"27.98","available":true,"url":"\/products\/she-was-not-fragile-like-a-flower-t-shirt?variant=dea84be4-2ac4-4b87-9eba-291346ad3283","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":54,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}