${function() {
const variantData = data.variant || {"id":"35174d76-e8dd-4f1e-9733-6ab797e05d8e","product_id":"25b5fc50-a744-4ab3-9a78-9664d4710d93","title":"White-S","weight_unit":"g","inventory_quantity":649,"sku":"101804470008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d60f6c04908cdb0cb58f1d38e55c6344.jpeg","path":"d60f6c04908cdb0cb58f1d38e55c6344.jpeg","width":800,"height":800,"alt":"Smoking Nun Break The Habit Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"250","compare_at_price":"19.98","price":"13.98","retail_price":"19.98","available":true,"url":"\/products\/smoking-nun-break-the-habit-printed-womens-t-shirt?variant=35174d76-e8dd-4f1e-9733-6ab797e05d8e","available_quantity":649,"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":"35174d76-e8dd-4f1e-9733-6ab797e05d8e","product_id":"25b5fc50-a744-4ab3-9a78-9664d4710d93","title":"White-S","weight_unit":"g","inventory_quantity":649,"sku":"101804470008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d60f6c04908cdb0cb58f1d38e55c6344.jpeg","path":"d60f6c04908cdb0cb58f1d38e55c6344.jpeg","width":800,"height":800,"alt":"Smoking Nun Break The Habit Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"250","compare_at_price":"19.98","price":"13.98","retail_price":"19.98","available":true,"url":"\/products\/smoking-nun-break-the-habit-printed-womens-t-shirt?variant=35174d76-e8dd-4f1e-9733-6ab797e05d8e","available_quantity":649,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":4};
return `
`
}()}