${function() {
const variantData = data.variant || {"id":"b8811f44-f2ae-43fd-9c76-74702b74b8ca","product_id":"43e9c13c-4a86-41a4-8806-54c3b7069b6c","title":"green-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041438-green-one size","barcode":"","position":3,"option1":"green","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39574b8be1231af8b3e026ebdac7c9f4.jpeg","path":"39574b8be1231af8b3e026ebdac7c9f4.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=b8811f44-f2ae-43fd-9c76-74702b74b8ca","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"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.