${function() {
const variantData = data.variant || {"id":"bbb27a35-0517-4ac8-a2aa-bc72445e6ad1","product_id":"e8e6b653-8b69-48df-98bd-fcb66ac74b3d","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CS2023060906-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49cbc56e99534cc71480de8a6d671dcf.jpeg","path":"49cbc56e99534cc71480de8a6d671dcf.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.9,"min_quantity":1}],"weight":"0","compare_at_price":"72.5","price":"59.9","retail_price":"72.5","available":true,"url":"\/products\/new-solid-color-and-v-neck-long-sleeve-waist-dress?variant=bbb27a35-0517-4ac8-a2aa-bc72445e6ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"bbb27a35-0517-4ac8-a2aa-bc72445e6ad1","product_id":"e8e6b653-8b69-48df-98bd-fcb66ac74b3d","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CS2023060906-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49cbc56e99534cc71480de8a6d671dcf.jpeg","path":"49cbc56e99534cc71480de8a6d671dcf.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.9,"min_quantity":1}],"weight":"0","compare_at_price":"72.5","price":"59.9","retail_price":"72.5","available":true,"url":"\/products\/new-solid-color-and-v-neck-long-sleeve-waist-dress?variant=bbb27a35-0517-4ac8-a2aa-bc72445e6ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}