${function() {
const variantData = data.variant || {"id":"0dbb2bab-2bfb-44e3-8dd3-91f9089304e7","product_id":"bae655cb-a283-4caa-af74-b3fce855e111","title":"dark green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230505751-dark green-S","barcode":"","position":11,"option1":"dark green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a196e2f1a1a3c114119db358151b99be.jpeg","path":"a196e2f1a1a3c114119db358151b99be.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-kje7?variant=0dbb2bab-2bfb-44e3-8dd3-91f9089304e7","available_quantity":999999999,"options":[{"name":"color","value":"dark green"},{"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.