${function() {
const variantData = data.variant || {"id":"9650012c-5f41-439d-adae-cb204f865138","product_id":"b254e37e-650a-4994-aaa4-3c28d002ad4b","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230603-E01-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b1a3a03ff785abde81507c59b8fcdbee.jpg","path":"b1a3a03ff785abde81507c59b8fcdbee.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/summer-bohemian-floral-print-short-sleeved-v-neck-seaside-beach-vacation-high-waist-tied-irregular-skirt-fresh-sweet-dress?variant=9650012c-5f41-439d-adae-cb204f865138","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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.