${function() {
const variantData = data.variant || {"id":"18a9bc8f-cf23-4884-be88-4df73b22161a","product_id":"0fa2cc3e-87c3-4d62-8b3a-a25d2342ab42","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023444","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/274a08356b4f0a6d7e4f45891093cf21.jpg","path":"274a08356b4f0a6d7e4f45891093cf21.jpg","width":635,"height":635,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"21.99","retail_price":"37.99","available":true,"url":"\/products\/anti-social-moms-club-tshirt?variant=18a9bc8f-cf23-4884-be88-4df73b22161a","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"18a9bc8f-cf23-4884-be88-4df73b22161a","product_id":"0fa2cc3e-87c3-4d62-8b3a-a25d2342ab42","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0023444","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/274a08356b4f0a6d7e4f45891093cf21.jpg","path":"274a08356b4f0a6d7e4f45891093cf21.jpg","width":635,"height":635,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"21.99","retail_price":"37.99","available":true,"url":"\/products\/anti-social-moms-club-tshirt?variant=18a9bc8f-cf23-4884-be88-4df73b22161a","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
`
}()}