${function() {
const variantData = data.variant || {"id":"478a717b-c4ef-404b-893f-1f882cf565fb","product_id":"0fc183ee-e9c2-426e-98be-5303f5fd04ca","title":"White-S","weight_unit":"g","inventory_quantity":999960,"sku":"101229890001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f02e34962e79432c5fe0525a75320cb.jpeg","path":"8f02e34962e79432c5fe0525a75320cb.jpeg","width":800,"height":800,"alt":"Good Times Bad Habits Printed Men's Casual T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"173.5","compare_at_price":"27.48","price":"16.98","retail_price":"27.48","available":true,"url":"\/products\/good-times-bad-habits-printed-mens-casual-t-shirt?variant=478a717b-c4ef-404b-893f-1f882cf565fb","available_quantity":999960,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1989};
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":"478a717b-c4ef-404b-893f-1f882cf565fb","product_id":"0fc183ee-e9c2-426e-98be-5303f5fd04ca","title":"White-S","weight_unit":"g","inventory_quantity":999960,"sku":"101229890001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f02e34962e79432c5fe0525a75320cb.jpeg","path":"8f02e34962e79432c5fe0525a75320cb.jpeg","width":800,"height":800,"alt":"Good Times Bad Habits Printed Men's Casual T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"173.5","compare_at_price":"27.48","price":"16.98","retail_price":"27.48","available":true,"url":"\/products\/good-times-bad-habits-printed-mens-casual-t-shirt?variant=478a717b-c4ef-404b-893f-1f882cf565fb","available_quantity":999960,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1989};
return `
`
}()}