${function() {
const variantData = data.variant || {"id":"c74635c5-8e4d-4ca6-bd42-27c91ffa2a64","product_id":"c94c48b7-f353-4687-94d3-fcdf4bcc0a61","title":"White-S","weight_unit":"g","inventory_quantity":691,"sku":"102045180008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/444cd4d227714d5bc71a65e55457243a.jpeg","path":"444cd4d227714d5bc71a65e55457243a.jpeg","width":2000,"height":2000,"alt":"Horror Demon Skull Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/horror-demon-skull-printed-mens-t-shirt?variant=c74635c5-8e4d-4ca6-bd42-27c91ffa2a64","available_quantity":691,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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":"c74635c5-8e4d-4ca6-bd42-27c91ffa2a64","product_id":"c94c48b7-f353-4687-94d3-fcdf4bcc0a61","title":"White-S","weight_unit":"g","inventory_quantity":691,"sku":"102045180008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/444cd4d227714d5bc71a65e55457243a.jpeg","path":"444cd4d227714d5bc71a65e55457243a.jpeg","width":2000,"height":2000,"alt":"Horror Demon Skull Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/horror-demon-skull-printed-mens-t-shirt?variant=c74635c5-8e4d-4ca6-bd42-27c91ffa2a64","available_quantity":691,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}