${function() {
const variantData = data.variant || {"id":"151979f2-73ae-4219-9671-a61ffd4aa4eb","product_id":"b0657efe-436b-40bc-bae0-8b68e5e55cad","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1631219012422066178","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00e4871ea0d81142fb26ccac42c45609.jpeg","path":"00e4871ea0d81142fb26ccac42c45609.jpeg","width":800,"height":800,"alt":"83005fd4095a5931adca68a9d5671f94","aspect_ratio":1},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/emoji-printed-contrast-mens-t-shirt?variant=151979f2-73ae-4219-9671-a61ffd4aa4eb","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"151979f2-73ae-4219-9671-a61ffd4aa4eb","product_id":"b0657efe-436b-40bc-bae0-8b68e5e55cad","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1631219012422066178","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00e4871ea0d81142fb26ccac42c45609.jpeg","path":"00e4871ea0d81142fb26ccac42c45609.jpeg","width":800,"height":800,"alt":"83005fd4095a5931adca68a9d5671f94","aspect_ratio":1},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/emoji-printed-contrast-mens-t-shirt?variant=151979f2-73ae-4219-9671-a61ffd4aa4eb","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}