${function() {
const variantData = data.variant || {"id":"9ca1d2d8-e098-4a85-b25d-512f4b460373","product_id":"43e9c13c-4a86-41a4-8806-54c3b7069b6c","title":"light coffee-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041438-light coffee-one size","barcode":"","position":2,"option1":"light coffee","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43b00cbde219ab0eaa30210881eecd48.jpeg","path":"43b00cbde219ab0eaa30210881eecd48.jpeg","width":1920,"height":1920,"alt":"Autumn winter thickened wide leg knitted jumpsuit","aspect_ratio":1},"wholesale_price":[{"price":82.79,"min_quantity":1}],"weight":"0.6","compare_at_price":"159.21","price":"82.79","retail_price":"159.21","available":true,"url":"\/products\/autumn-winter-thickened-wide-leg-knitted-jumpsuit?variant=9ca1d2d8-e098-4a85-b25d-512f4b460373","available_quantity":999999999,"options":[{"name":"color","value":"light coffee"},{"name":"size","value":"one size"}],"off_ratio":48,"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.