Rarove- Pants Women Contrast Checkerboard Ankle Pants Women's Trousers Harajuku Street Style
${function() {
const variantData = data.variant || {"id":"c3efa75e-d7f5-4d0c-abb9-a6d617abd993","product_id":"a2218ac9-7dc0-4000-b487-072d30004320","title":"white and black-M","weight_unit":"g","inventory_quantity":897,"sku":"rarove37728509-white-and-black-m","barcode":"","position":1,"option1":"white and black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e3e21a69d97915992b1d350f007b213.jpeg","path":"7e3e21a69d97915992b1d350f007b213.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.55","retail_price":"0","available":true,"url":"\/products\/half-n-39-half-pants-women-contrast-checkerboard-ankle-pants-women-39-s-trousers-harajuku-street-style?variant=c3efa75e-d7f5-4d0c-abb9-a6d617abd993","available_quantity":897,"options":[{"name":"Color","value":"white and black"},{"name":"Size","value":"M"}],"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}
`;
}()}