${function() {
const variantData = data.variant || {"id":"00f49005-d7d1-4bb0-a248-64ae98016132","product_id":"f3e24ec4-31ae-4d28-a942-87a2ee280e67","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012509-green-s","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c18ff26f82840cfb86a7c704dfd99089.jpeg","path":"c18ff26f82840cfb86a7c704dfd99089.jpeg","width":600,"height":900,"alt":"Paneled Solid Side Pockets Self-tie Casual Pants","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":22.81,"min_quantity":1}],"weight":"0.2","compare_at_price":"40.73","price":"22.81","retail_price":"40.73","available":true,"url":"\/products\/paneled-solid-side-pockets-self-tie-casual-pants?variant=00f49005-d7d1-4bb0-a248-64ae98016132","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":44,"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.