${function() {
const variantData = data.variant || {"id":"f16c970b-4734-443c-afb7-308494fdb038","product_id":"4198b515-bcbd-41be-8eca-999bc110a849","title":"Black-M","weight_unit":"g","inventory_quantity":689,"sku":"100593470005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a623a58aedb2dbb0befff68b84a34ea1.jpeg","path":"a623a58aedb2dbb0befff68b84a34ea1.jpeg","width":800,"height":800,"alt":"Skeleton biker printed loose T-shirt designer - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"198","compare_at_price":"32.95","price":"17.98","retail_price":"32.95","available":true,"url":"\/products\/cloeinc-skeleton-biker-printed-loose-t-shirt-designer?variant=f16c970b-4734-443c-afb7-308494fdb038","available_quantity":689,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":45,"flashsale_info":[],"sales":449};
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":"f16c970b-4734-443c-afb7-308494fdb038","product_id":"4198b515-bcbd-41be-8eca-999bc110a849","title":"Black-M","weight_unit":"g","inventory_quantity":689,"sku":"100593470005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a623a58aedb2dbb0befff68b84a34ea1.jpeg","path":"a623a58aedb2dbb0befff68b84a34ea1.jpeg","width":800,"height":800,"alt":"Skeleton biker printed loose T-shirt designer - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"198","compare_at_price":"32.95","price":"17.98","retail_price":"32.95","available":true,"url":"\/products\/cloeinc-skeleton-biker-printed-loose-t-shirt-designer?variant=f16c970b-4734-443c-afb7-308494fdb038","available_quantity":689,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":45,"flashsale_info":[],"sales":449};
return `
`
}()}