${function() {
const variantData = data.variant || {"id":"87af405d-bf58-4c80-8ca6-c3336ea971d7","product_id":"3f2c295e-9ab3-4a5b-ab8c-e03b01db0dc1","title":"khaki-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212162673-khaki-one size","barcode":"","position":1,"option1":"khaki","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b026746b1282bcc1bcba8b6713bd53c5.jpeg","path":"b026746b1282bcc1bcba8b6713bd53c5.jpeg","width":800,"height":1000,"alt":"All-match knit tie slimming dress","aspect_ratio":0.8},"wholesale_price":[{"price":64.85,"min_quantity":1}],"weight":"0.3","compare_at_price":"85","price":"64.85","retail_price":"85","available":true,"url":"\/products\/all-match-knit-tie-slimming-dress?variant=87af405d-bf58-4c80-8ca6-c3336ea971d7","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"one size"}],"off_ratio":24,"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.