${function() {
const variantData = data.variant || {"id":"ce06dfbd-2108-46da-b4e9-ef4049ae7166","product_id":"f3409099-394a-482c-9e47-07b0766795f2","title":"Teal-S","weight_unit":"g","inventory_quantity":99999,"sku":"101661350001","barcode":"","position":1,"option1":"Teal","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4f38b2a523401f348eaf7b1f638103e.png","path":"f4f38b2a523401f348eaf7b1f638103e.png","width":540,"height":540,"alt":"West Coast Surf Rider Beach Print T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"225.5","compare_at_price":"29.98","price":"18.98","retail_price":"29.98","available":true,"url":"\/products\/west-coast-surf-rider-beach-print-t-shirt?variant=ce06dfbd-2108-46da-b4e9-ef4049ae7166","available_quantity":99999,"options":[{"name":"Color","value":"Teal"},{"name":"Size","value":"S"}],"off_ratio":37,"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":"ce06dfbd-2108-46da-b4e9-ef4049ae7166","product_id":"f3409099-394a-482c-9e47-07b0766795f2","title":"Teal-S","weight_unit":"g","inventory_quantity":99999,"sku":"101661350001","barcode":"","position":1,"option1":"Teal","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4f38b2a523401f348eaf7b1f638103e.png","path":"f4f38b2a523401f348eaf7b1f638103e.png","width":540,"height":540,"alt":"West Coast Surf Rider Beach Print T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"225.5","compare_at_price":"29.98","price":"18.98","retail_price":"29.98","available":true,"url":"\/products\/west-coast-surf-rider-beach-print-t-shirt?variant=ce06dfbd-2108-46da-b4e9-ef4049ae7166","available_quantity":99999,"options":[{"name":"Color","value":"Teal"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
`
}()}