Pillow
${function() {
const variantData = data.variant || {"id":"9ff66342-03e5-4456-8f4f-0ef176f6e06c","product_id":"328c1e97-fec3-44f0-8a01-2ed74392dafc","title":"GRAY","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"GRAY","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"82.33","price":"41.99","retail_price":"82.33","available":true,"url":"\/products\/pillow?variant=9ff66342-03e5-4456-8f4f-0ef176f6e06c","available_quantity":999999999,"options":[{"name":"Color","value":"GRAY"}],"off_ratio":49,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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.
${function(){
const variantData = data.variant || {"id":"9ff66342-03e5-4456-8f4f-0ef176f6e06c","product_id":"328c1e97-fec3-44f0-8a01-2ed74392dafc","title":"GRAY","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"GRAY","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"82.33","price":"41.99","retail_price":"82.33","available":true,"url":"\/products\/pillow?variant=9ff66342-03e5-4456-8f4f-0ef176f6e06c","available_quantity":999999999,"options":[{"name":"Color","value":"GRAY"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}