${function() {
const variantData = data.variant || {"id":"3c79e788-b69c-4d23-8086-21c53a04bb32","product_id":"02221ba1-f5da-4c27-8a4b-db38f4059afe","title":"Wine Red-S","weight_unit":"kg","inventory_quantity":-1,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b0cfbb4c5d53c97e037bce1f25728c2.jpeg","path":"4b0cfbb4c5d53c97e037bce1f25728c2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"29","price":"15","retail_price":"29","available":true,"url":"\/products\/sportlift-ultra-long-sleeve-crop-top-in-wine-red?variant=3c79e788-b69c-4d23-8086-21c53a04bb32","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"},{"name":"Size","value":"S"}],"off_ratio":48,"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.
${function(){
const variantData = data.variant || {"id":"3c79e788-b69c-4d23-8086-21c53a04bb32","product_id":"02221ba1-f5da-4c27-8a4b-db38f4059afe","title":"Wine Red-S","weight_unit":"kg","inventory_quantity":-1,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b0cfbb4c5d53c97e037bce1f25728c2.jpeg","path":"4b0cfbb4c5d53c97e037bce1f25728c2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"29","price":"15","retail_price":"29","available":true,"url":"\/products\/sportlift-ultra-long-sleeve-crop-top-in-wine-red?variant=3c79e788-b69c-4d23-8086-21c53a04bb32","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}