${function() {
const variantData = data.variant || {"id":"73497ff6-686f-495e-b937-3316fe08f055","product_id":"eb1debaa-5c4f-45c3-be79-3cf8af21417c","title":"black-M","weight_unit":"kg","inventory_quantity":999,"sku":"1499629891921371138","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf484a3b7f11dae2427f12c150b1e2b7.jpeg","path":"bf484a3b7f11dae2427f12c150b1e2b7.jpeg","width":2160,"height":2158,"alt":"","aspect_ratio":1.0009267840593141},"wholesale_price":[{"price":24.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.55","retail_price":"0","available":true,"url":"\/products\/mens-spring-summer-henley-stretch-slim-t-shirt-9x7j?variant=73497ff6-686f-495e-b937-3316fe08f055","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"73497ff6-686f-495e-b937-3316fe08f055","product_id":"eb1debaa-5c4f-45c3-be79-3cf8af21417c","title":"black-M","weight_unit":"kg","inventory_quantity":999,"sku":"1499629891921371138","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf484a3b7f11dae2427f12c150b1e2b7.jpeg","path":"bf484a3b7f11dae2427f12c150b1e2b7.jpeg","width":2160,"height":2158,"alt":"","aspect_ratio":1.0009267840593141},"wholesale_price":[{"price":24.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.55","retail_price":"0","available":true,"url":"\/products\/mens-spring-summer-henley-stretch-slim-t-shirt-9x7j?variant=73497ff6-686f-495e-b937-3316fe08f055","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}