${function() {
const variantData = data.variant || {"id":"f73f9bac-2d55-4a15-b05b-4d77b267a402","product_id":"f2e00d6c-5614-4461-a3c5-4a6f68c3a197","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0181-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/affd2fe6651ed62d83917e94758f479f.jpeg","path":"affd2fe6651ed62d83917e94758f479f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.9,"min_quantity":1}],"weight":"0.25","compare_at_price":"39.9","price":"24.9","retail_price":"39.9","available":true,"url":"\/products\/feather-print-vintage-womens-t-shirt?variant=f73f9bac-2d55-4a15-b05b-4d77b267a402","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":38,"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.
Sku : NC0181-grey-S
Weight : 0.25kg
${function(){
const variantData = data.variant || {"id":"f73f9bac-2d55-4a15-b05b-4d77b267a402","product_id":"f2e00d6c-5614-4461-a3c5-4a6f68c3a197","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0181-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/affd2fe6651ed62d83917e94758f479f.jpeg","path":"affd2fe6651ed62d83917e94758f479f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.9,"min_quantity":1}],"weight":"0.25","compare_at_price":"39.9","price":"24.9","retail_price":"39.9","available":true,"url":"\/products\/feather-print-vintage-womens-t-shirt?variant=f73f9bac-2d55-4a15-b05b-4d77b267a402","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}