${function() {
const variantData = data.variant || {"id":"042e3517-a59c-4406-961e-30c0df0948fb","product_id":"74969227-ecb5-45cd-af4f-a856ee6a2529","title":"RED-M","weight_unit":"kg","inventory_quantity":0,"sku":"Lin4301588228286-RED-M","barcode":"","position":1,"option1":"RED","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0cb431c8d1949b7f34385264e9b0710.jpeg","path":"e0cb431c8d1949b7f34385264e9b0710.jpeg","width":564,"height":752,"alt":"Red Loose Wide Leg Tube Jumpsuits","aspect_ratio":0.75},"wholesale_price":[{"price":30.59,"min_quantity":1}],"weight":"0","compare_at_price":"55.62","price":"30.59","retail_price":"55.62","available":true,"url":"\/products\/red-loose-wide-leg-tube-jumpsuits?variant=042e3517-a59c-4406-961e-30c0df0948fb","available_quantity":999999999,"options":[{"name":"Color","value":"RED"},{"name":"Size","value":"M"}],"off_ratio":45,"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.