${function() {
const variantData = data.variant || {"id":"ea4391ef-4e1e-4ff8-a988-a79ff5addf23","product_id":"64dff314-c674-4f29-b0af-c23f5b2de2ec","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019314-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3652fe1aa980d63b3a7fee141441a59.jpeg","path":"e3652fe1aa980d63b3a7fee141441a59.jpeg","width":800,"height":1000,"alt":"V-neck cross wrap puffy sleeve sweater","aspect_ratio":0.8},"wholesale_price":[{"price":42.55,"min_quantity":1}],"weight":"0.3","compare_at_price":"77.36","price":"42.55","retail_price":"77.36","available":true,"url":"\/products\/v-neck-cross-wrap-puffy-sleeve-sweater?variant=ea4391ef-4e1e-4ff8-a988-a79ff5addf23","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":45,"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.