${function() {
const variantData = data.variant || {"id":"e91ae4a9-f635-49e7-8576-9108eb027024","product_id":"1ff270e6-c650-4954-a9ab-3864a4feadf2","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOI8KvyQ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b45016cf1701516b3457f6e5fd94e30a.jpeg","path":"b45016cf1701516b3457f6e5fd94e30a.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"200","compare_at_price":"33","price":"21.99","retail_price":"33","available":true,"url":"\/products\/personalized-printed-short-sleeved-t-shirt?variant=e91ae4a9-f635-49e7-8576-9108eb027024","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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 : XHOI8KvyQ-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"e91ae4a9-f635-49e7-8576-9108eb027024","product_id":"1ff270e6-c650-4954-a9ab-3864a4feadf2","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOI8KvyQ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b45016cf1701516b3457f6e5fd94e30a.jpeg","path":"b45016cf1701516b3457f6e5fd94e30a.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"200","compare_at_price":"33","price":"21.99","retail_price":"33","available":true,"url":"\/products\/personalized-printed-short-sleeved-t-shirt?variant=e91ae4a9-f635-49e7-8576-9108eb027024","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}