${function() {
const variantData = data.variant || {"id":"6efe7a24-d35a-4190-a03f-257054ea3b87","product_id":"887c0be9-0b87-4e34-a098-168dc0216a8f","title":"Orange-M","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017323708","barcode":"","position":1,"option1":"Orange","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2bde7c0aaeaec81d631e6d36e34da5ed.jpeg","path":"2bde7c0aaeaec81d631e6d36e34da5ed.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.66,"min_quantity":1}],"weight":"0","compare_at_price":"37.66","price":"37.66","retail_price":"37.66","available":true,"url":"\/products\/cotton-linen-solid-color-casual-long-dress-2021-spring-new-womens-lantern-sleeve-dress-elegant-retro-fashion-party-dresses-3xl-4778?variant=6efe7a24-d35a-4190-a03f-257054ea3b87","available_quantity":1000,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"M"}],"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":"6efe7a24-d35a-4190-a03f-257054ea3b87","product_id":"887c0be9-0b87-4e34-a098-168dc0216a8f","title":"Orange-M","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017323708","barcode":"","position":1,"option1":"Orange","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2bde7c0aaeaec81d631e6d36e34da5ed.jpeg","path":"2bde7c0aaeaec81d631e6d36e34da5ed.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.66,"min_quantity":1}],"weight":"0","compare_at_price":"37.66","price":"37.66","retail_price":"37.66","available":true,"url":"\/products\/cotton-linen-solid-color-casual-long-dress-2021-spring-new-womens-lantern-sleeve-dress-elegant-retro-fashion-party-dresses-3xl-4778?variant=6efe7a24-d35a-4190-a03f-257054ea3b87","available_quantity":1000,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}