${function() {
const variantData = data.variant || {"id":"9bf649b3-f09f-4523-a5d3-5a056f312648","product_id":"14e41a91-3d66-462c-97ab-56fb5d337199","title":"White-S","weight_unit":"g","inventory_quantity":772,"sku":"102045190008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57a3bc65f3d9b1524e67221a24af3348.jpeg","path":"57a3bc65f3d9b1524e67221a24af3348.jpeg","width":2000,"height":2000,"alt":"Demon Beauty 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\/demon-beauty-printed-mens-t-shirt?variant=9bf649b3-f09f-4523-a5d3-5a056f312648","available_quantity":772,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
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":"9bf649b3-f09f-4523-a5d3-5a056f312648","product_id":"14e41a91-3d66-462c-97ab-56fb5d337199","title":"White-S","weight_unit":"g","inventory_quantity":772,"sku":"102045190008","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57a3bc65f3d9b1524e67221a24af3348.jpeg","path":"57a3bc65f3d9b1524e67221a24af3348.jpeg","width":2000,"height":2000,"alt":"Demon Beauty 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\/demon-beauty-printed-mens-t-shirt?variant=9bf649b3-f09f-4523-a5d3-5a056f312648","available_quantity":772,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
return `
`
}()}