${function() {
const variantData = data.variant || {"id":"6e1ebe3e-f242-4f7a-8dea-ada6a24b5c01","product_id":"811ff9dd-9dd1-473c-8c08-9ef199ddac65","title":"apricot-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054026479","barcode":"","position":1,"option1":"apricot","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09f7944f06129de0349750ea2964c099.jpeg","path":"09f7944f06129de0349750ea2964c099.jpeg","width":860,"height":882,"alt":"New Autumn Fashion Knitting Sweater Vest","aspect_ratio":0.9750566893424036},"wholesale_price":[{"price":28.95,"min_quantity":1}],"weight":"0","compare_at_price":"28.95","price":"28.95","retail_price":"28.95","available":true,"url":"\/products\/new-autumn-fashion-knitting-sweater-vest-5965?variant=6e1ebe3e-f242-4f7a-8dea-ada6a24b5c01","available_quantity":1000,"options":[{"name":"Color","value":"apricot"},{"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":"6e1ebe3e-f242-4f7a-8dea-ada6a24b5c01","product_id":"811ff9dd-9dd1-473c-8c08-9ef199ddac65","title":"apricot-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054026479","barcode":"","position":1,"option1":"apricot","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09f7944f06129de0349750ea2964c099.jpeg","path":"09f7944f06129de0349750ea2964c099.jpeg","width":860,"height":882,"alt":"New Autumn Fashion Knitting Sweater Vest","aspect_ratio":0.9750566893424036},"wholesale_price":[{"price":28.95,"min_quantity":1}],"weight":"0","compare_at_price":"28.95","price":"28.95","retail_price":"28.95","available":true,"url":"\/products\/new-autumn-fashion-knitting-sweater-vest-5965?variant=6e1ebe3e-f242-4f7a-8dea-ada6a24b5c01","available_quantity":1000,"options":[{"name":"Color","value":"apricot"},{"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}
`
}()}