${function() {
const variantData = data.variant || {"id":"f6ccde0f-8a00-4050-985a-65de60a0cb5e","product_id":"77f00a2f-f871-4fb0-9aec-3188c3e9ceab","title":"White-S","weight_unit":"g","inventory_quantity":704,"sku":"101835680008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edf98f13b5f24c10bfdff242c04b819c.jpeg","path":"edf98f13b5f24c10bfdff242c04b819c.jpeg","width":800,"height":800,"alt":"Deep Breath Skull Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"252","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/deep-breath-skull-printed-mens-t-shirt?variant=f6ccde0f-8a00-4050-985a-65de60a0cb5e","available_quantity":704,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":69};
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":"f6ccde0f-8a00-4050-985a-65de60a0cb5e","product_id":"77f00a2f-f871-4fb0-9aec-3188c3e9ceab","title":"White-S","weight_unit":"g","inventory_quantity":704,"sku":"101835680008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edf98f13b5f24c10bfdff242c04b819c.jpeg","path":"edf98f13b5f24c10bfdff242c04b819c.jpeg","width":800,"height":800,"alt":"Deep Breath Skull Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"252","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/deep-breath-skull-printed-mens-t-shirt?variant=f6ccde0f-8a00-4050-985a-65de60a0cb5e","available_quantity":704,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":69};
return `
`
}()}