${function() {
const variantData = data.variant || {"id":"2b21cf60-40b6-4b41-81f0-92e474ada1a2","product_id":"107d143f-bfbf-432e-b6ea-e01f4d08e6c6","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"J169_Black_XS","barcode":"1704339304920\/797","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"41.99","retail_price":"59.99","available":true,"url":"\/products\/cool-girl-in-school-varsity-jacket-black?variant=2b21cf60-40b6-4b41-81f0-92e474ada1a2","available_quantity":999999999,"options":[{"name":"Size","value":"XS"}],"off_ratio":30,"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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : J169_Black_XS
Barcode : 1704339304920/797
${function(){
const variantData = data.variant || {"id":"2b21cf60-40b6-4b41-81f0-92e474ada1a2","product_id":"107d143f-bfbf-432e-b6ea-e01f4d08e6c6","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"J169_Black_XS","barcode":"1704339304920\/797","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"41.99","retail_price":"59.99","available":true,"url":"\/products\/cool-girl-in-school-varsity-jacket-black?variant=2b21cf60-40b6-4b41-81f0-92e474ada1a2","available_quantity":999999999,"options":[{"name":"Size","value":"XS"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}