${function() {
const variantData = data.variant || {"id":"fd3a3e6a-832b-4aa0-99aa-2fa101e4071e","product_id":"fe56ad4f-027b-4fd3-9401-a3ee3101a896","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"NYJK255A_Red_XS","barcode":"1704339323491\/950","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"20","retail_price":"39.99","available":true,"url":"\/products\/city-streets-puffer-jacket-red?variant=fd3a3e6a-832b-4aa0-99aa-2fa101e4071e","available_quantity":999999999,"options":[{"name":"Size","value":"XS"}],"off_ratio":50,"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 : NYJK255A_Red_XS
Barcode : 1704339323491/950
${function(){
const variantData = data.variant || {"id":"fd3a3e6a-832b-4aa0-99aa-2fa101e4071e","product_id":"fe56ad4f-027b-4fd3-9401-a3ee3101a896","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"NYJK255A_Red_XS","barcode":"1704339323491\/950","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"20","retail_price":"39.99","available":true,"url":"\/products\/city-streets-puffer-jacket-red?variant=fd3a3e6a-832b-4aa0-99aa-2fa101e4071e","available_quantity":999999999,"options":[{"name":"Size","value":"XS"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}