Soft Viscose Knitted Woman Tshirts Vintage Casual Loose Long Sleeve Harajuku Streetwear Women Top 122723WTA
${function() {
const variantData = data.variant || {"id":"f73714f4-51fc-4b46-9300-bfdb2306afd7","product_id":"8e34ea7b-9fec-486a-b83c-7027ab85f794","title":"khaki-One Size","weight_unit":"g","inventory_quantity":200,"sku":"96928701-khaki-one-size","barcode":"","position":1,"option1":"khaki","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dc37bba114e17971bf28b64ae5e625eb.jpeg","path":"dc37bba114e17971bf28b64ae5e625eb.jpeg","width":1000,"height":1000,"alt":"Soft Viscose Knitted Woman Tshirts Vintage Casual Loose Long Sleeve Harajuku Streetwear Women Top","aspect_ratio":1},"wholesale_price":[{"price":23.58,"min_quantity":1}],"weight":"0","compare_at_price":"27","price":"23.58","retail_price":"27","available":true,"url":"\/products\/soft-viscose-knitted-woman-tshirts-vintage-casual-loose-long-sleeve-harajuku-streetwear-women-top-122723wta?variant=f73714f4-51fc-4b46-9300-bfdb2306afd7","available_quantity":999999999,"options":[{"name":"Color","value":"khaki"},{"name":"Size","value":"One Size"}],"off_ratio":13,"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.
15 Days Return,100%Money Back
7*24h Service at:support@Girlfairy.com
${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}
`;
}()}
${function() {
const postageFreeAmount = 35;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}