${function() {
const variantData = data.variant || {"id":"bc80909b-f513-4bae-88a3-3976488ae220","product_id":"742af353-be4d-4783-9587-e99ac9cfef69","title":"yellow-M","weight_unit":"kg","inventory_quantity":1000,"sku":"yellow M-40696239","barcode":"","position":1,"option1":"yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e023371a8b82b1720e3b258409071fb.webp","path":"5e023371a8b82b1720e3b258409071fb.webp","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.64,"min_quantity":1}],"weight":"0","compare_at_price":"29.64","price":"29.64","retail_price":"29.64","available":true,"url":"\/products\/summer-elegant-womens-cotton-loose-dress-208528480992?variant=bc80909b-f513-4bae-88a3-3976488ae220","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"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":"bc80909b-f513-4bae-88a3-3976488ae220","product_id":"742af353-be4d-4783-9587-e99ac9cfef69","title":"yellow-M","weight_unit":"kg","inventory_quantity":1000,"sku":"yellow M-40696239","barcode":"","position":1,"option1":"yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e023371a8b82b1720e3b258409071fb.webp","path":"5e023371a8b82b1720e3b258409071fb.webp","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.64,"min_quantity":1}],"weight":"0","compare_at_price":"29.64","price":"29.64","retail_price":"29.64","available":true,"url":"\/products\/summer-elegant-womens-cotton-loose-dress-208528480992?variant=bc80909b-f513-4bae-88a3-3976488ae220","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"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}
`
}()}