${function() {
const variantData = data.variant || {"id":"53f8d3fd-bb09-40b0-90b7-0c7538100f4c","product_id":"a0d171f1-8ac4-4989-8f08-940495ece251","title":"Ginger-S","weight_unit":"kg","inventory_quantity":0,"sku":"20101401-ginger-s","barcode":"","position":1,"option1":"Ginger","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f90e8ee7ba831beb86f875ac29607b53.jpeg","path":"f90e8ee7ba831beb86f875ac29607b53.jpeg","width":750,"height":750,"alt":"Pure Color Casual Fashion Loose Hooded Cardigan Sweater","aspect_ratio":1},"wholesale_price":[{"price":44.56,"min_quantity":1}],"weight":"0.4","compare_at_price":"51.76","price":"44.56","retail_price":"51.76","available":true,"url":"\/products\/pure-color-casual-fashion-loose-hooded-cardigan-sweater?variant=53f8d3fd-bb09-40b0-90b7-0c7538100f4c","available_quantity":999999999,"options":[{"name":"Color","value":"Ginger"},{"name":"Size","value":"S"}],"off_ratio":14,"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.