Casual Plain Color T-shirt
${function() {
const variantData = data.variant || {"id":"e6b3b716-8830-49e3-b9fe-1ad3824ed139","product_id":"9aab5cdd-7006-40d7-be3e-45a594c0add3","title":"gray-M","weight_unit":"g","inventory_quantity":999,"sku":"41e3ed08-6dea-4d56-a221-4f6f98fb9b43","barcode":"","position":1,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80e5b65ac755295c3c0e4a608b3aa6be.jpeg","path":"80e5b65ac755295c3c0e4a608b3aa6be.jpeg","width":800,"height":800,"alt":"1cbb31a41c3376c4ca273de469524ea4","aspect_ratio":1},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"15.99","retail_price":"24.99","available":true,"url":"\/products\/casual-plain-color-t-shirt?variant=e6b3b716-8830-49e3-b9fe-1ad3824ed139","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"M"}],"off_ratio":36,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('5');
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}
`;
}()}
people are viewing this right now
Color:
gray
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
M
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Product was out of stock.
Product is unavailable.
Price Protection for Black Friday✅
Spot Stock Direct Delivery✅