${function() {
const variantData = data.variant || {"id":"907df47f-f852-4b5c-888a-bd14ca8087dd","product_id":"602db6ac-79f2-4aec-9e20-6d797e9a9de4","title":"black-M","weight_unit":"g","inventory_quantity":200,"sku":"LC0035-black-M","barcode":"","position":2,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0297918271758a8cf61525cdcd43a363.jpeg","path":"0297918271758a8cf61525cdcd43a363.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"107","compare_at_price":"0","price":"18.9","retail_price":"0","available":true,"url":"\/products\/military-tactical-fitness-riding-touch-gloves?variant=907df47f-f852-4b5c-888a-bd14ca8087dd","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"M"}],"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.
Sku : LC0035-black-M
Weight : 107g
${function(){
const variantData = data.variant || {"id":"907df47f-f852-4b5c-888a-bd14ca8087dd","product_id":"602db6ac-79f2-4aec-9e20-6d797e9a9de4","title":"black-M","weight_unit":"g","inventory_quantity":200,"sku":"LC0035-black-M","barcode":"","position":2,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0297918271758a8cf61525cdcd43a363.jpeg","path":"0297918271758a8cf61525cdcd43a363.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"107","compare_at_price":"0","price":"18.9","retail_price":"0","available":true,"url":"\/products\/military-tactical-fitness-riding-touch-gloves?variant=907df47f-f852-4b5c-888a-bd14ca8087dd","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}