DOBABIES-Summer Basic Ribbed Tops for Women Elegant Fashion Patchwork Slim Tanks Camis Causal Sleeveless Tank Top 2024 New T-shirt Gray
${function() {
const variantData = data.variant || {"id":"42a6d247-2705-40c8-bbc9-6cac1e3ad2bf","product_id":"336d756c-49df-47cd-8d67-4680aeb81a29","title":"Light Grey-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2314:200006151;5:100014064","barcode":"","position":1,"option1":"Light Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8d9ec727516b68a00308800ec059ed93.jpeg","path":"8d9ec727516b68a00308800ec059ed93.jpeg","width":800,"height":800,"alt":"45445679939843|45445679972611|45445680005379","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/dobabies-summer-basic-ribbed-tops-for-women-elegant-fashion-patchwork-slim-tanks-camis-causal-sleeveless-tank-top-2024-new-t-shirt-gray?variant=42a6d247-2705-40c8-bbc9-6cac1e3ad2bf","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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.
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}