Every Child Matters Baby Bear Native American Unisex T-Shirt
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"cf21f908-6608-4b24-ad45-b2c04f53ebe0","product_id":"3a30a7e5-c022-447f-a9b2-cd467203a928","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"SII740658001S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89b226124894b858af63c03b61da9dcd.png","path":"89b226124894b858af63c03b61da9dcd.png","width":550,"height":550,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.98","price":"21.99","retail_price":"39.98","available":true,"url":"\/products\/portion-donate-2022-every-child-matters-shirt-unisex-76s2-jzz3-ajr9-opab-mvmf-utjp-qa1t-r5nm-m1if?variant=cf21f908-6608-4b24-ad45-b2c04f53ebe0","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Orange
${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:
S
${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
$21.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"cf21f908-6608-4b24-ad45-b2c04f53ebe0","product_id":"3a30a7e5-c022-447f-a9b2-cd467203a928","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"SII740658001S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89b226124894b858af63c03b61da9dcd.png","path":"89b226124894b858af63c03b61da9dcd.png","width":550,"height":550,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.98","price":"21.99","retail_price":"39.98","available":true,"url":"\/products\/portion-donate-2022-every-child-matters-shirt-unisex-76s2-jzz3-ajr9-opab-mvmf-utjp-qa1t-r5nm-m1if?variant=cf21f908-6608-4b24-ad45-b2c04f53ebe0","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}
${function(){
const variantData = data.variant || {"id":"cf21f908-6608-4b24-ad45-b2c04f53ebe0","product_id":"3a30a7e5-c022-447f-a9b2-cd467203a928","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"SII740658001S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89b226124894b858af63c03b61da9dcd.png","path":"89b226124894b858af63c03b61da9dcd.png","width":550,"height":550,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.98","price":"21.99","retail_price":"39.98","available":true,"url":"\/products\/portion-donate-2022-every-child-matters-shirt-unisex-76s2-jzz3-ajr9-opab-mvmf-utjp-qa1t-r5nm-m1if?variant=cf21f908-6608-4b24-ad45-b2c04f53ebe0","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
`
}()}