${function() {
const variantData = data.variant || {"id":"5d23327a-a3a8-4cd5-8f3a-df265bbf69f4","product_id":"1f521d94-ce52-488a-aa01-279b69617a8b","title":"WHITE-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--WHITE-S-A0023608","barcode":"","position":1,"option1":"WHITE","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25e44f32a53fc5d7ee06d18b43737f9d.jpg","path":"25e44f32a53fc5d7ee06d18b43737f9d.jpg","width":624,"height":624,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/mama-sweatshirt?variant=5d23327a-a3a8-4cd5-8f3a-df265bbf69f4","available_quantity":999999999,"options":[{"name":"color","value":"WHITE"},{"name":"size","value":"S"}],"off_ratio":39,"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":"5d23327a-a3a8-4cd5-8f3a-df265bbf69f4","product_id":"1f521d94-ce52-488a-aa01-279b69617a8b","title":"WHITE-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--WHITE-S-A0023608","barcode":"","position":1,"option1":"WHITE","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25e44f32a53fc5d7ee06d18b43737f9d.jpg","path":"25e44f32a53fc5d7ee06d18b43737f9d.jpg","width":624,"height":624,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/mama-sweatshirt?variant=5d23327a-a3a8-4cd5-8f3a-df265bbf69f4","available_quantity":999999999,"options":[{"name":"color","value":"WHITE"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
`
}()}