${function() {
const variantData = data.variant || {"id":"c9634946-a7f7-40fe-89b3-760b4c3e27db","product_id":"643d7a4f-84d0-4519-9f17-226171348ab9","title":"green-M","weight_unit":"kg","inventory_quantity":999,"sku":"1499629742802911233","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aed5bc3ff26b0dceb6991d797e45017a.jpeg","path":"aed5bc3ff26b0dceb6991d797e45017a.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?variant=c9634946-a7f7-40fe-89b3-760b4c3e27db","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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":"c9634946-a7f7-40fe-89b3-760b4c3e27db","product_id":"643d7a4f-84d0-4519-9f17-226171348ab9","title":"green-M","weight_unit":"kg","inventory_quantity":999,"sku":"1499629742802911233","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aed5bc3ff26b0dceb6991d797e45017a.jpeg","path":"aed5bc3ff26b0dceb6991d797e45017a.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?variant=c9634946-a7f7-40fe-89b3-760b4c3e27db","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}