${function() {
const variantData = data.variant || {"id":"bcbcf2a3-f9e5-4f8b-aa71-8ae3156f89a8","product_id":"4fb96b09-b2f7-4f65-bd1a-46ee4ab1b10b","title":"Yellow-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"QZHYLJvLWL-Yellow-OneSize","barcode":"","position":1,"option1":"Yellow","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1a2be878512d181c2b451a684c2a038.jpeg","path":"a1a2be878512d181c2b451a684c2a038.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"16.99","retail_price":"23.99","available":true,"url":"\/products\/mock-neck-ribbed-knit-tank-top?variant=bcbcf2a3-f9e5-4f8b-aa71-8ae3156f89a8","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"One Size"}],"off_ratio":29,"flashsale_info":[],"sales":0};
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 : QZHYLJvLWL-Yellow-OneSize
${function(){
const variantData = data.variant || {"id":"bcbcf2a3-f9e5-4f8b-aa71-8ae3156f89a8","product_id":"4fb96b09-b2f7-4f65-bd1a-46ee4ab1b10b","title":"Yellow-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"QZHYLJvLWL-Yellow-OneSize","barcode":"","position":1,"option1":"Yellow","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1a2be878512d181c2b451a684c2a038.jpeg","path":"a1a2be878512d181c2b451a684c2a038.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"16.99","retail_price":"23.99","available":true,"url":"\/products\/mock-neck-ribbed-knit-tank-top?variant=bcbcf2a3-f9e5-4f8b-aa71-8ae3156f89a8","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"One Size"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}