${function() {
const variantData = data.variant || {"id":"5d510164-db0a-429e-80f9-0244a9ca4534","product_id":"b2252a1b-7822-46d3-981f-c811c431bc3d","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101706690008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49bd6b71d59bd10ce1ae55fce77ba292.jpeg","path":"49bd6b71d59bd10ce1ae55fce77ba292.jpeg","width":1440,"height":1440,"alt":"Earth Star And Skeleton Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"229.5","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/earth-star-and-skeleton-printed-mens-t-shirt?variant=5d510164-db0a-429e-80f9-0244a9ca4534","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":5};
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":"5d510164-db0a-429e-80f9-0244a9ca4534","product_id":"b2252a1b-7822-46d3-981f-c811c431bc3d","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101706690008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49bd6b71d59bd10ce1ae55fce77ba292.jpeg","path":"49bd6b71d59bd10ce1ae55fce77ba292.jpeg","width":1440,"height":1440,"alt":"Earth Star And Skeleton Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"229.5","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/earth-star-and-skeleton-printed-mens-t-shirt?variant=5d510164-db0a-429e-80f9-0244a9ca4534","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":5};
return `
`
}()}