${function() {
const variantData = data.variant || {"id":"ceed5f40-30c7-469d-9443-59a0a0815844","product_id":"304ee070-3eae-4e6c-a303-e97637259153","title":"dark brown-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"WY04F-U992-dark brown-2XL","barcode":"","position":1,"option1":"dark brown","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1efcde93fd744b792911595ea9bcd2fc.jpeg","path":"1efcde93fd744b792911595ea9bcd2fc.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.88,"min_quantity":1}],"weight":"0","compare_at_price":"40.88","price":"20.88","retail_price":"40.88","available":true,"url":"\/products\/o-neck-vintage-print-long-sleeve-sweatshirtc86ed055-e10d-41cd-abd5-e9f53377e1b5?variant=ceed5f40-30c7-469d-9443-59a0a0815844","available_quantity":999999999,"options":[{"name":"Color","value":"dark brown"},{"name":"Size","value":"2XL"}],"off_ratio":49,"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":"ceed5f40-30c7-469d-9443-59a0a0815844","product_id":"304ee070-3eae-4e6c-a303-e97637259153","title":"dark brown-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"WY04F-U992-dark brown-2XL","barcode":"","position":1,"option1":"dark brown","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1efcde93fd744b792911595ea9bcd2fc.jpeg","path":"1efcde93fd744b792911595ea9bcd2fc.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.88,"min_quantity":1}],"weight":"0","compare_at_price":"40.88","price":"20.88","retail_price":"40.88","available":true,"url":"\/products\/o-neck-vintage-print-long-sleeve-sweatshirtc86ed055-e10d-41cd-abd5-e9f53377e1b5?variant=ceed5f40-30c7-469d-9443-59a0a0815844","available_quantity":999999999,"options":[{"name":"Color","value":"dark brown"},{"name":"Size","value":"2XL"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}