${function() {
const variantData = data.variant || {"id":"499ba4df-40a0-4877-b70f-74b40f5fbeb9","product_id":"e168be60-faff-402c-a07e-3039ff8007e4","title":"Black-S","weight_unit":"kg","inventory_quantity":6000,"sku":"BL2306293665-Black-S","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4464ca35b594fe0782aed88a2af1bbb.jpeg","path":"d4464ca35b594fe0782aed88a2af1bbb.jpeg","width":878,"height":1096,"alt":"Short Casual Cardigan Top Drawstring Shorts Suit","aspect_ratio":0.801094890510949},"wholesale_price":[{"price":46.85,"min_quantity":1}],"weight":"0.6","compare_at_price":"58","price":"46.85","retail_price":"58","available":true,"url":"\/products\/short-casual-cardigan-top-drawstring-shorts-suit?variant=499ba4df-40a0-4877-b70f-74b40f5fbeb9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":19,"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.