${function() {
const variantData = data.variant || {"id":"4c9ee7a6-7fe3-46f2-8b4e-898f77950549","product_id":"18df69da-ad31-44a2-b78b-69baedf75741","title":"3XL-Light Gray","weight_unit":"g","inventory_quantity":742,"sku":"100281780015","barcode":"","position":7,"option1":"3XL","option2":"Light Gray","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f670a16230101649a28bcf4b3318738c.jpeg","path":"f670a16230101649a28bcf4b3318738c.jpeg","width":806,"height":679,"alt":"Fitness solid color elastic waistband shorts - ","aspect_ratio":1.187039764359352},"wholesale_price":[{"price":11.95,"min_quantity":1}],"weight":"200","compare_at_price":"19.95","price":"11.95","retail_price":"19.95","available":true,"url":"\/products\/fitness-solid-color-elastic-waistband-shorts?variant=4c9ee7a6-7fe3-46f2-8b4e-898f77950549","available_quantity":742,"options":[{"name":"Size","value":"3XL"},{"name":"Color","value":"Light Gray"}],"off_ratio":40,"flashsale_info":[],"sales":311};
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":"4c9ee7a6-7fe3-46f2-8b4e-898f77950549","product_id":"18df69da-ad31-44a2-b78b-69baedf75741","title":"3XL-Light Gray","weight_unit":"g","inventory_quantity":742,"sku":"100281780015","barcode":"","position":7,"option1":"3XL","option2":"Light Gray","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f670a16230101649a28bcf4b3318738c.jpeg","path":"f670a16230101649a28bcf4b3318738c.jpeg","width":806,"height":679,"alt":"Fitness solid color elastic waistband shorts - ","aspect_ratio":1.187039764359352},"wholesale_price":[{"price":11.95,"min_quantity":1}],"weight":"200","compare_at_price":"19.95","price":"11.95","retail_price":"19.95","available":true,"url":"\/products\/fitness-solid-color-elastic-waistband-shorts?variant=4c9ee7a6-7fe3-46f2-8b4e-898f77950549","available_quantity":742,"options":[{"name":"Size","value":"3XL"},{"name":"Color","value":"Light Gray"}],"off_ratio":40,"flashsale_info":[],"sales":311};
return `
`
}()}