${function() {
const variantData = data.variant || {"id":"a834bca6-196d-464e-b3a4-187dc7fd4675","product_id":"e3dee24b-bd16-459b-bd5b-c135e2188de4","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017492896","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/746ce8283e62b86ac1e27f48e8b4945f.png","path":"746ce8283e62b86ac1e27f48e8b4945f.png","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.59,"min_quantity":1}],"weight":"0","compare_at_price":"24.59","price":"24.59","retail_price":"24.59","available":true,"url":"\/products\/solid-casual-3-4-sleeve-shirts-tops-9017?variant=a834bca6-196d-464e-b3a4-187dc7fd4675","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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":"a834bca6-196d-464e-b3a4-187dc7fd4675","product_id":"e3dee24b-bd16-459b-bd5b-c135e2188de4","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017492896","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/746ce8283e62b86ac1e27f48e8b4945f.png","path":"746ce8283e62b86ac1e27f48e8b4945f.png","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.59,"min_quantity":1}],"weight":"0","compare_at_price":"24.59","price":"24.59","retail_price":"24.59","available":true,"url":"\/products\/solid-casual-3-4-sleeve-shirts-tops-9017?variant=a834bca6-196d-464e-b3a4-187dc7fd4675","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}