${function() {
const variantData = data.variant || {"id":"eb33e1bb-076d-4ac5-94b7-ba73dd7f1c4b","product_id":"61bbe5a7-04e6-4e0d-8077-66f84cb99032","title":"Grey-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251010-Grey-2XL","barcode":"","position":11,"option1":"Grey","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5a080649de4525d27ced6c45122973b.jpeg","path":"f5a080649de4525d27ced6c45122973b.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=eb33e1bb-076d-4ac5-94b7-ba73dd7f1c4b","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.