${function() {
const variantData = data.variant || {"id":"2c322f4f-966b-4d20-820e-099ce7e8dad1","product_id":"e8eab6c2-fa4c-40a2-9ace-d7d27164c2c5","title":"S-Ash","weight_unit":"kg","inventory_quantity":1000,"sku":"HF1806198-\u026bS","barcode":"","position":1,"option1":"S","option2":"Ash","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b873f7625aa4386997759343ecb22371.jpeg","path":"b873f7625aa4386997759343ecb22371.jpeg","width":1200,"height":1800,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/2023-fall-comfort-totally-smitten-sweater?variant=2c322f4f-966b-4d20-820e-099ce7e8dad1","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Ash"}],"off_ratio":33,"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":"2c322f4f-966b-4d20-820e-099ce7e8dad1","product_id":"e8eab6c2-fa4c-40a2-9ace-d7d27164c2c5","title":"S-Ash","weight_unit":"kg","inventory_quantity":1000,"sku":"HF1806198-\u026bS","barcode":"","position":1,"option1":"S","option2":"Ash","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b873f7625aa4386997759343ecb22371.jpeg","path":"b873f7625aa4386997759343ecb22371.jpeg","width":1200,"height":1800,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/2023-fall-comfort-totally-smitten-sweater?variant=2c322f4f-966b-4d20-820e-099ce7e8dad1","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Ash"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}