${function() {
const variantData = data.variant || {"id":"a754060c-ff16-4b42-9e2e-87e94d8113d3","product_id":"0c50d69c-b813-4272-b21b-8dc627b0f7c3","title":"Blue-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056247562","barcode":"","position":2,"option1":"Blue","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9da362aeb3155d330f99eab03be53b31.jpeg","path":"9da362aeb3155d330f99eab03be53b31.jpeg","width":1200,"height":1600,"alt":"Boho Underwear & Socks","aspect_ratio":0.75},"wholesale_price":[{"price":4.83,"min_quantity":1}],"weight":"0","compare_at_price":"4.83","price":"4.83","retail_price":"4.83","available":true,"url":"\/products\/boho-underwear-socks-4311?variant=a754060c-ff16-4b42-9e2e-87e94d8113d3","available_quantity":1000,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"One-size"}],"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":"a754060c-ff16-4b42-9e2e-87e94d8113d3","product_id":"0c50d69c-b813-4272-b21b-8dc627b0f7c3","title":"Blue-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056247562","barcode":"","position":2,"option1":"Blue","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9da362aeb3155d330f99eab03be53b31.jpeg","path":"9da362aeb3155d330f99eab03be53b31.jpeg","width":1200,"height":1600,"alt":"Boho Underwear & Socks","aspect_ratio":0.75},"wholesale_price":[{"price":4.83,"min_quantity":1}],"weight":"0","compare_at_price":"4.83","price":"4.83","retail_price":"4.83","available":true,"url":"\/products\/boho-underwear-socks-4311?variant=a754060c-ff16-4b42-9e2e-87e94d8113d3","available_quantity":1000,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}