${function() {
const variantData = data.variant || {"id":"3b48d856-ba46-495e-a1fc-273449393dce","product_id":"8a98c79b-41b3-4673-a80b-feb50a1ad60f","title":"Black-S","weight_unit":"g","inventory_quantity":99996,"sku":"101612280001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d4a0f6c64d1c3b46ff76f075a9609bd.jpeg","path":"4d4a0f6c64d1c3b46ff76f075a9609bd.jpeg","width":1000,"height":1000,"alt":"Good Time Bad Friend Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"16.98","retail_price":"32.98","available":true,"url":"\/products\/cloeinc-good-time-bad-friend-printed-t-shirt?variant=3b48d856-ba46-495e-a1fc-273449393dce","available_quantity":99996,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":155};
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":"3b48d856-ba46-495e-a1fc-273449393dce","product_id":"8a98c79b-41b3-4673-a80b-feb50a1ad60f","title":"Black-S","weight_unit":"g","inventory_quantity":99996,"sku":"101612280001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d4a0f6c64d1c3b46ff76f075a9609bd.jpeg","path":"4d4a0f6c64d1c3b46ff76f075a9609bd.jpeg","width":1000,"height":1000,"alt":"Good Time Bad Friend Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"16.98","retail_price":"32.98","available":true,"url":"\/products\/cloeinc-good-time-bad-friend-printed-t-shirt?variant=3b48d856-ba46-495e-a1fc-273449393dce","available_quantity":99996,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":155};
return `
`
}()}