${function() {
const variantData = data.variant || {"id":"7fc9a966-3c68-4d3d-95d0-2de3f69f3fee","product_id":"61bbe5a7-04e6-4e0d-8077-66f84cb99032","title":"Blue-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251010-Blue-2XL","barcode":"","position":6,"option1":"Blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f7296c53fdad58dd85a3db6c27a2bc6.jpeg","path":"0f7296c53fdad58dd85a3db6c27a2bc6.jpeg","width":584,"height":800,"alt":"Star Print Top And Skirt Casual Sweater Two-piece Set","aspect_ratio":0.73},"wholesale_price":[{"price":52.04,"min_quantity":1}],"weight":"0.66","compare_at_price":"89.72","price":"52.04","retail_price":"89.72","available":true,"url":"\/products\/star-print-top-and-pants-casual-sweater-two-piece-set?variant=7fc9a966-3c68-4d3d-95d0-2de3f69f3fee","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"2XL"}],"off_ratio":42,"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.