${function() {
const variantData = data.variant || {"id":"c41aee1c-2c6d-49cc-9f1b-8c41a7fe31b9","product_id":"e168be60-faff-402c-a07e-3039ff8007e4","title":"Grey-S","weight_unit":"kg","inventory_quantity":6000,"sku":"BL2306293665-Grey-S","barcode":"","position":9,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62a81a3cffdda20116cb95079c3ca012.jpeg","path":"62a81a3cffdda20116cb95079c3ca012.jpeg","width":1080,"height":1343,"alt":"Short Casual Cardigan Top Drawstring Shorts Suit","aspect_ratio":0.8041697691734921},"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=c41aee1c-2c6d-49cc-9f1b-8c41a7fe31b9","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.