${function() {
const variantData = data.variant || {"id":"fcc6123d-e69e-4215-a1e7-dc49acfd8386","product_id":"0c50d69c-b813-4272-b21b-8dc627b0f7c3","title":"Black-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056247561","barcode":"","position":1,"option1":"Black","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47ea68f5ab85d3d945c999f972540138.jpeg","path":"47ea68f5ab85d3d945c999f972540138.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=fcc6123d-e69e-4215-a1e7-dc49acfd8386","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"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":"fcc6123d-e69e-4215-a1e7-dc49acfd8386","product_id":"0c50d69c-b813-4272-b21b-8dc627b0f7c3","title":"Black-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056247561","barcode":"","position":1,"option1":"Black","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47ea68f5ab85d3d945c999f972540138.jpeg","path":"47ea68f5ab85d3d945c999f972540138.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=fcc6123d-e69e-4215-a1e7-dc49acfd8386","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"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}
`
}()}