${function() {
const variantData = data.variant || {"id":"80c879ff-e7cf-4ca2-8bcb-f0417ff5520f","product_id":"f3e24ec4-31ae-4d28-a942-87a2ee280e67","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012509-blue-s","barcode":"","position":17,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ab686c5a5b7c7a6ecc674abd05e2f13.jpeg","path":"8ab686c5a5b7c7a6ecc674abd05e2f13.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=80c879ff-e7cf-4ca2-8bcb-f0417ff5520f","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"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.