${function() {
const variantData = data.variant || {"id":"c75f2077-8af1-4bcd-986b-1e2225427fec","product_id":"3bc9190a-affa-4362-a851-3e935ba6e33c","title":"white-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"63c70b44-ce31-4f2a-ba25-897b074624a0","barcode":"","position":1,"option1":"white","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89f76396cc5fccee6acdccb460da833b.jpeg","path":"89f76396cc5fccee6acdccb460da833b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.32","retail_price":"0","available":true,"url":"\/products\/casual-solid-color-fitted-long-sleeved-t-shirt?variant=c75f2077-8af1-4bcd-986b-1e2225427fec","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"c75f2077-8af1-4bcd-986b-1e2225427fec","product_id":"3bc9190a-affa-4362-a851-3e935ba6e33c","title":"white-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"63c70b44-ce31-4f2a-ba25-897b074624a0","barcode":"","position":1,"option1":"white","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89f76396cc5fccee6acdccb460da833b.jpeg","path":"89f76396cc5fccee6acdccb460da833b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.32","retail_price":"0","available":true,"url":"\/products\/casual-solid-color-fitted-long-sleeved-t-shirt?variant=c75f2077-8af1-4bcd-986b-1e2225427fec","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}