${function() {
const variantData = data.variant || {"id":"b4db28fd-4be4-4ae6-82d6-7e9cc0b59cab","product_id":"46c71df4-d77a-4038-85c8-d531fa6e6e81","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS242312-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50cd8e531c3233f0a032826945480580.jpeg","path":"50cd8e531c3233f0a032826945480580.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"33.99","retail_price":"33.99","available":true,"url":"\/products\/womens-vintage-western-horse-silhouette-print-sweatshirt?variant=b4db28fd-4be4-4ae6-82d6-7e9cc0b59cab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"b4db28fd-4be4-4ae6-82d6-7e9cc0b59cab","product_id":"46c71df4-d77a-4038-85c8-d531fa6e6e81","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS242312-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50cd8e531c3233f0a032826945480580.jpeg","path":"50cd8e531c3233f0a032826945480580.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"33.99","retail_price":"33.99","available":true,"url":"\/products\/womens-vintage-western-horse-silhouette-print-sweatshirt?variant=b4db28fd-4be4-4ae6-82d6-7e9cc0b59cab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}