${function() {
const variantData = data.variant || {"id":"57d7bbae-91cf-435a-95b7-6e89417a04f2","product_id":"06cb3aba-9949-47f4-80ec-f3b37216e66e","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20100702-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eef52d41111d95b492bb5bf644e37784.jpeg","path":"eef52d41111d95b492bb5bf644e37784.jpeg","width":1324,"height":1324,"alt":"Fashion Week Queen Letter Printed Jacket","aspect_ratio":1},"wholesale_price":[{"price":59.87,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"59.87","retail_price":"70","available":true,"url":"\/products\/fashion-week-queen-letter-printed-jacket?variant=57d7bbae-91cf-435a-95b7-6e89417a04f2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":14,"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.