${function() {
const variantData = data.variant || {"id":"0059d632-eba7-49d0-acff-06d2940a0abe","product_id":"2a6a3dff-f08e-4d9a-95e3-7a609efe88c7","title":"purple-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027644026","barcode":"","position":1,"option1":"purple","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6cc4ff633a7e3144b4022db02389bda.jpeg","path":"e6cc4ff633a7e3144b4022db02389bda.jpeg","width":900,"height":900,"alt":"Fashion Lapel Knitted Women Knitwear","aspect_ratio":1},"wholesale_price":[{"price":39.92,"min_quantity":1}],"weight":"0","compare_at_price":"39.92","price":"39.92","retail_price":"39.92","available":true,"url":"\/products\/fashion-lapel-knitted-women-knitwear-1007?variant=0059d632-eba7-49d0-acff-06d2940a0abe","available_quantity":1000,"options":[{"name":"Color","value":"purple"},{"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":"0059d632-eba7-49d0-acff-06d2940a0abe","product_id":"2a6a3dff-f08e-4d9a-95e3-7a609efe88c7","title":"purple-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027644026","barcode":"","position":1,"option1":"purple","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6cc4ff633a7e3144b4022db02389bda.jpeg","path":"e6cc4ff633a7e3144b4022db02389bda.jpeg","width":900,"height":900,"alt":"Fashion Lapel Knitted Women Knitwear","aspect_ratio":1},"wholesale_price":[{"price":39.92,"min_quantity":1}],"weight":"0","compare_at_price":"39.92","price":"39.92","retail_price":"39.92","available":true,"url":"\/products\/fashion-lapel-knitted-women-knitwear-1007?variant=0059d632-eba7-49d0-acff-06d2940a0abe","available_quantity":1000,"options":[{"name":"Color","value":"purple"},{"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}
`
}()}