${function() {
const variantData = data.variant || {"id":"e6b57c34-2193-4b41-a556-9ec5a8601e8f","product_id":"38dffd04-9d9b-4ac9-b54c-8f07be8498e6","title":"Claret-S","weight_unit":"g","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Claret","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/86590ba030255972134f2d056f4d3e8f.webp","path":"86590ba030255972134f2d056f4d3e8f.webp","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.58","retail_price":"0","available":true,"url":"\/products\/floral-printed-deep-v-neck-short-sleeve-bodycon-dresses?variant=e6b57c34-2193-4b41-a556-9ec5a8601e8f","available_quantity":100,"options":[{"name":"Color","value":"Claret"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"e6b57c34-2193-4b41-a556-9ec5a8601e8f","product_id":"38dffd04-9d9b-4ac9-b54c-8f07be8498e6","title":"Claret-S","weight_unit":"g","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Claret","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/86590ba030255972134f2d056f4d3e8f.webp","path":"86590ba030255972134f2d056f4d3e8f.webp","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.58","retail_price":"0","available":true,"url":"\/products\/floral-printed-deep-v-neck-short-sleeve-bodycon-dresses?variant=e6b57c34-2193-4b41-a556-9ec5a8601e8f","available_quantity":100,"options":[{"name":"Color","value":"Claret"},{"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}
`
}()}