${function() {
const variantData = data.variant || {"id":"db076621-af28-4c41-bf51-4928474cddf5","product_id":"61bbe5a7-04e6-4e0d-8077-66f84cb99032","title":"Black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251010-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65468d6fbe5ae116069584d5d1fb8911.jpeg","path":"65468d6fbe5ae116069584d5d1fb8911.jpeg","width":600,"height":822,"alt":"Star Print Top And Skirt Casual Sweater Two-piece Set","aspect_ratio":0.7299270072992701},"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=db076621-af28-4c41-bf51-4928474cddf5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.