if (window.matchMedia('(max-width: 600px)').matches) {
const script = document.createElement("script");
script.src = "https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js";
script.type = "text/javascript";
script.onload = function () {
console.log("Zepto loaded on mobile!");
var $ = window.Zepto; // Assign Zepto to $
const campObj = {
bulk_data: [],
async updateCartCount() {
const cart = await fetch('/cart.php', {
headers: {
'stencil-config': '{}',
'stencil-options': '{"render_with":"cart/content,cart/totals,cart/page-title,cart/status-messages,cart/additional-checkout-buttons"}',
},
}).then(res => res.json());
if (cart['components/cart/content']) {
const cartCount = $(cart['components/cart/content']).attr('data-cart-quantity');
$('[data-cart-preview] .cart-quantity').text(cartCount);
}
},
addProduct(fData, addbtn) {
fetch('/cart.php', {
method: 'post',
body: fData,
}).then((res) => {
if (res.status == 200) this.updateCartCount();
addbtn.removeAttr('disabled');
}).catch(() => {
window.location.reload();
});
},
setupCamp() {
$('.productView-options .grouped-options').each(function () {
const type = $(this).find('.group-name').text().trim();
$(this).attr('data-group_type', type);
$(this).find('.group-name').append('(Buy More, Save More) ');
$(this).find('tbody tr:not(.header-mobile-selector)').each(function () {
const titleData = [];
$(this).find('td:not(.sku):not(.item-price):not(.pack):not(.qty):not(.total):not(.addtocart)').each(function () {
const text = $(this).text().trim();
if (text !== '-') titleData.push(text);
});
$(this).prev('tr').find('.title').text(titleData.join(' - '));
});
});
$('.productView-options .addtocartbutton').addClass('cc-disabled');
$('.productView-options tbody .pack').attr('data-label', 'Select Pack Size');
$('.productView-options .addtocartbutton[disabled]').val('Sold out');
$('.productView-options tbody .title').append(' ').on('click', function () {
$(this).toggleClass('cc-tab__active');
campaign.trigger('Clicked.tab');
});
$('.productView-options .addtocartbutton').on('click', function (e) {
e.preventDefault();
const addbtn = $(this).attr('disabled', 'disabled');
const fData = new FormData($(this).closest('form').get(0));
campObj.addProduct(fData, $(this));
campaign.trigger('clicked.addtocart');
});
},
setupOptionChange(opt) {
opt.find('.cc-option-btn').on('click', function () {
const row = $(this).closest('tr');
const optVal = $(this).attr('data-option_value');
const type = $(this).closest('.grouped-options').attr('data-group_type');
$(this).closest('.cc-option-item').addClass('cc-option__active').siblings().removeClass('cc-option__active');
const select = $(this).closest('td').find('.pack-size');
const slVal = select.val();
row.find('.addtocartbutton').removeClass('cc-disabled');
if (slVal != optVal) {
select.val(optVal).get(0).dispatchEvent(new Event('change', { bubbles: true }));
setTimeout(() => {
const btn = row.find('.addtocartbutton');
btn.val(btn.attr('disabled') ? 'Sold out' : 'Add to Cart');
}, 100);
}
campaign.trigger(`Clicked.${type.toLowerCase()}.option`);
});
},
loadCamp() {
const bulkData = [...this.bulk_data];
$('.productView-options .grouped-options').each(function () {
const table = $(this).find('table');
table.find('tbody tr').each(function () {
const row = $(this);
if (row.find('.pack select').length) {
if (!table.find('.cc-options__61802884').length && row.find('.pack select option').length === 1) {
table.find('thead .pack').attr('data-option_count', '1');
} else {
table.find('thead .pack').removeAttr('data-option_count');
}
row.find('.pack').prepend('
');
row.find('.pack select option').each(function () {
const optText = $(this).text().trim();
const sku = $(this).val();
const count = Number(optText.replace(/[^0-9]/g, ''));
const priceData = bulkData.filter(r => r.node.sku && r.node.sku.replaceAll('.', '').replaceAll(' ', '').toLowerCase().trim() === sku.replaceAll(' ', '').toLowerCase().trim());
let price = '';
if (priceData.length && count) {
price = priceData[0].node.prices.price.value / count;
}
const opt = $(`
${optText}
${price ? `$${price.toFixed(2)} ` : ''}
`);
campObj.setupOptionChange(opt);
row.find('.cc-options__61802884 .cc-option-items').append(opt);
});
}
});
});
},
getBulkData() {
$('body > script').each(function () {
let sContent = $(this).text().trim();
if (sContent.includes('window.stencilBootstrap')) {
sContent = sContent.split('"gqlData\\":').pop().split(',\\"zoomSize\\":')[0].replace(/\\/g, '').trim();
try {
campObj.bulk_data = JSON.parse(sContent);
} catch (e) {
// try fallback logic or skip
}
return false;
}
});
},
setupEventTrack() {
$(document)
.on('focus', '.productView-options .qty-input', () => campaign.trigger('Clicked.quantity'))
.on('change', '.productView-options .qty-input', () => campaign.trigger('Used.quantity'));
},
waitForTableData(callback) {
if ($('.productView-options table tbody tr').length) callback();
else setTimeout(() => campObj.waitForTableData(callback), 1000);
},
start() {
if ($('.productView-options').length) {
this.waitForTableData(() => {
$('body').addClass('cc-bulk__61802884');
this.setupCamp();
this.getBulkData();
this.loadCamp();
});
this.setupEventTrack();
}
},
};
campObj.start();
};
document.head.appendChild(script);
}
Skip to main content
Home
Shop By Product
Aprons
Child Bib Apron
Child Bib Apron
Availability:
5-7 Business Days
Our Child Aprons are perfect for kids whether pre-schoolers or early elementary students and are available in bulk. Created from a blend of polyester and cotton twill, these aprons are lightweight and comfortable to wear. Featuring an adjustable slider neck for the perfect fit and no pockets for simplicity, you can trust that your little one will have fun wearing our Child Bib Apron while crafting their favorite art projects or helping in the kitchen.
Fabric Weight: 7.5 oz. 65/35 Poly/Cotton Twill
Size: 20L x 15W
No Pocket Kids Aprons
Protected by ProDura Stain Release Finish
Sold in case of 6 per each color
These Items Ship From Georgia
See Estimated Shipping Transit Times
This Child Cobbler Apron has been thoughtfully designed to meet the demands of pre-schoolers and early primary students. This apron has a convenient center-divided pouch pocket with plenty of...