${function() {
const variantData = data.variant || {"id":"1e4a236d-d889-42ca-b4b2-fdba4357110d","product_id":"615c2992-a856-41b8-857a-7d7dd52e3c1c","title":"Black-S","weight_unit":"g","inventory_quantity":856,"sku":"100948890001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d55ace80bd03a28ed70a387f018273a7.jpeg","path":"d55ace80bd03a28ed70a387f018273a7.jpeg","width":800,"height":800,"alt":"Everything Is Gonna Be Okay \u200bPrinted Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"16.98","retail_price":"21.98","available":true,"url":"\/products\/everything-is-gonna-be-okay-printed-casual-mens-t-shirt?variant=1e4a236d-d889-42ca-b4b2-fdba4357110d","available_quantity":856,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":11};
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":"1e4a236d-d889-42ca-b4b2-fdba4357110d","product_id":"615c2992-a856-41b8-857a-7d7dd52e3c1c","title":"Black-S","weight_unit":"g","inventory_quantity":856,"sku":"100948890001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d55ace80bd03a28ed70a387f018273a7.jpeg","path":"d55ace80bd03a28ed70a387f018273a7.jpeg","width":800,"height":800,"alt":"Everything Is Gonna Be Okay \u200bPrinted Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"16.98","retail_price":"21.98","available":true,"url":"\/products\/everything-is-gonna-be-okay-printed-casual-mens-t-shirt?variant=1e4a236d-d889-42ca-b4b2-fdba4357110d","available_quantity":856,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":11};
return `
`
}()}