${function() {
const variantData = data.variant || {"id":"d19ec62d-2182-4e46-820e-e1a956404252","product_id":"62122f1e-4c45-42c4-bab5-7f6576217f1a","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230519-E10-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9eb0c9bc64ae11c8ee105a4aa9de8ae3.jpg","path":"9eb0c9bc64ae11c8ee105a4aa9de8ae3.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/dress-long-v-neck-loose-flared-sleeve-casual-style-womens-bohemian-geometric-pattern-print-oversized-hem-dress-dress?variant=d19ec62d-2182-4e46-820e-e1a956404252","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"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.