"Purple Candy" Double Layer Hard Case
${function() {
const variantData = data.variant || {"id":"bf2129a7-8726-4825-b420-3b17f743873e","product_id":"8858e009-b32d-4b61-b61c-d5e6def664bd","title":"Black-i15","weight_unit":"kg","inventory_quantity":999,"sku":"1750035555917647873","barcode":"","position":1,"option1":"Black","option2":"i15","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/91980e2749430d4ec038784e126d0d2a.png","path":"91980e2749430d4ec038784e126d0d2a.png","width":2000,"height":2000,"alt":"8de01e043c55278e682cd6e087418a5b","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"200","compare_at_price":"15.99","price":"9.99","retail_price":"15.99","available":true,"url":"\/products\/purple-candy-double-layer-hard-case?variant=bf2129a7-8726-4825-b420-3b17f743873e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"i15"}],"off_ratio":38,"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:
Black
${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:
i15
${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✅