${function() {
const variantData = data.variant || {"id":"a70480b9-5042-4303-a27a-79e39b8e1bad","product_id":"63c19ade-e606-4e99-a3f1-09a3a22a757d","title":"apricot-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230505751-apricot-S","barcode":"","position":1,"option1":"apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9cd9fa9f334beae2a5bd4c06f366300.jpeg","path":"b9cd9fa9f334beae2a5bd4c06f366300.jpeg","width":800,"height":800,"alt":"Polka-dot cotton and linen double-layer skirt","aspect_ratio":1},"wholesale_price":[{"price":38.74,"min_quantity":1}],"weight":"0.3","compare_at_price":"47","price":"38.74","retail_price":"47","available":true,"url":"\/products\/polka-dot-cotton-and-linen-double-layer-skirt-ean4?variant=a70480b9-5042-4303-a27a-79e39b8e1bad","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"S"}],"off_ratio":18,"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.