${function() {
const variantData = data.variant || {"id":"1f873a88-23fa-435f-acf5-3eba6b87ee4b","product_id":"bf1ca34e-80f9-4bc0-8e36-6fbc0638f1cc","title":"Black-S","weight_unit":"g","inventory_quantity":885,"sku":"101848140001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53f567e4d505219063e5e862b4ef84eb.jpeg","path":"53f567e4d505219063e5e862b4ef84eb.jpeg","width":1440,"height":1440,"alt":"Eat My Ass Printed Women'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\/eat-my-ass-printed-womens-t-shirt?variant=1f873a88-23fa-435f-acf5-3eba6b87ee4b","available_quantity":885,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":29};
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":"1f873a88-23fa-435f-acf5-3eba6b87ee4b","product_id":"bf1ca34e-80f9-4bc0-8e36-6fbc0638f1cc","title":"Black-S","weight_unit":"g","inventory_quantity":885,"sku":"101848140001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53f567e4d505219063e5e862b4ef84eb.jpeg","path":"53f567e4d505219063e5e862b4ef84eb.jpeg","width":1440,"height":1440,"alt":"Eat My Ass Printed Women'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\/eat-my-ass-printed-womens-t-shirt?variant=1f873a88-23fa-435f-acf5-3eba6b87ee4b","available_quantity":885,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":29};
return `
`
}()}