${function() {
const variantData = data.variant || {"id":"62725e9d-2623-437b-8426-076c85fa14f7","product_id":"a540bd97-836f-41ce-92f9-dcede1620508","title":"Army-Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012215-army-green-s","barcode":"","position":1,"option1":"Army-Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fba1f396d75760b2c72b92aab4e565fb.jpeg","path":"fba1f396d75760b2c72b92aab4e565fb.jpeg","width":750,"height":1000,"alt":"Drawstring Elastic Waist Pockets Jogger Pants","aspect_ratio":0.75},"wholesale_price":[{"price":28.24,"min_quantity":1}],"weight":"0.23","compare_at_price":"54.31","price":"28.24","retail_price":"54.31","available":true,"url":"\/products\/drawstring-elastic-waist-pockets-jogger-pants?variant=62725e9d-2623-437b-8426-076c85fa14f7","available_quantity":999999999,"options":[{"name":"color","value":"Army-Green"},{"name":"size","value":"S"}],"off_ratio":48,"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.