${function() {
const variantData = data.variant || {"id":"f03d083d-9e53-4e6d-aa41-97decde926a4","product_id":"f7deb30b-eaf9-4cff-996d-32ca48d21eb7","title":"White-S","weight_unit":"g","inventory_quantity":577,"sku":"102045220008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c7fc3823ef4e69f0ca4e3a17b6c3a0b.jpeg","path":"9c7fc3823ef4e69f0ca4e3a17b6c3a0b.jpeg","width":2000,"height":2000,"alt":"Devil Sorrow Nun 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\/devil-sorrow-nun-printed-mens-t-shirt?variant=f03d083d-9e53-4e6d-aa41-97decde926a4","available_quantity":577,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":4};
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":"f03d083d-9e53-4e6d-aa41-97decde926a4","product_id":"f7deb30b-eaf9-4cff-996d-32ca48d21eb7","title":"White-S","weight_unit":"g","inventory_quantity":577,"sku":"102045220008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c7fc3823ef4e69f0ca4e3a17b6c3a0b.jpeg","path":"9c7fc3823ef4e69f0ca4e3a17b6c3a0b.jpeg","width":2000,"height":2000,"alt":"Devil Sorrow Nun 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\/devil-sorrow-nun-printed-mens-t-shirt?variant=f03d083d-9e53-4e6d-aa41-97decde926a4","available_quantity":577,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":4};
return `
`
}()}