${function() {
const variantData = data.variant || {"id":"e665ef6a-bcea-41e2-ac60-1b2867a920c2","product_id":"fd937ff8-298a-4bd1-94a2-394662aba0e0","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"W9070_Black_XS","barcode":"1704339540686\/72","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"21","retail_price":"29.99","available":true,"url":"\/products\/distressed-with-you-cardigan-black?variant=e665ef6a-bcea-41e2-ac60-1b2867a920c2","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 : W9070_Black_XS
Barcode : 1704339540686/72
${function(){
const variantData = data.variant || {"id":"e665ef6a-bcea-41e2-ac60-1b2867a920c2","product_id":"fd937ff8-298a-4bd1-94a2-394662aba0e0","title":"XS","weight_unit":"lb","inventory_quantity":0,"sku":"W9070_Black_XS","barcode":"1704339540686\/72","position":1,"option1":"XS","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"21","retail_price":"29.99","available":true,"url":"\/products\/distressed-with-you-cardigan-black?variant=e665ef6a-bcea-41e2-ac60-1b2867a920c2","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}
`
}()}