${function() {
const variantData = data.variant || {"id":"5ec9acff-2b10-48d0-8a41-ba25a0ea4da7","product_id":"dcfa5a8f-49d8-4dc9-82a2-f09fa3e85654","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027342690","barcode":"","position":7,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5b5d20ec869f8b9ee1a28df21991181.jpeg","path":"c5b5d20ec869f8b9ee1a28df21991181.jpeg","width":1200,"height":1600,"alt":"Printed Casual Sleeveless Round Neck Shirts","aspect_ratio":0.75},"wholesale_price":[{"price":17.38,"min_quantity":1}],"weight":"0","compare_at_price":"17.38","price":"17.38","retail_price":"17.38","available":true,"url":"\/products\/printed-casual-sleeveless-round-neck-shirts-6553?variant=5ec9acff-2b10-48d0-8a41-ba25a0ea4da7","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"5ec9acff-2b10-48d0-8a41-ba25a0ea4da7","product_id":"dcfa5a8f-49d8-4dc9-82a2-f09fa3e85654","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027342690","barcode":"","position":7,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5b5d20ec869f8b9ee1a28df21991181.jpeg","path":"c5b5d20ec869f8b9ee1a28df21991181.jpeg","width":1200,"height":1600,"alt":"Printed Casual Sleeveless Round Neck Shirts","aspect_ratio":0.75},"wholesale_price":[{"price":17.38,"min_quantity":1}],"weight":"0","compare_at_price":"17.38","price":"17.38","retail_price":"17.38","available":true,"url":"\/products\/printed-casual-sleeveless-round-neck-shirts-6553?variant=5ec9acff-2b10-48d0-8a41-ba25a0ea4da7","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}