${function() {
const variantData = data.variant || {"id":"c3cbc102-d232-48df-a3f3-00a536eb076c","product_id":"a540bd97-836f-41ce-92f9-dcede1620508","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012215-black-s","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f11db88c13b0184ef5f05cc0a4a55261.jpeg","path":"f11db88c13b0184ef5f05cc0a4a55261.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=c3cbc102-d232-48df-a3f3-00a536eb076c","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"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.