Love all things Chocolate, Tea, & Pottery?
Sign up for our newsletter!
Subscribe
The Chocolate of the Month Club is a perfect gift!
Search
Log in
0
Cart
*Gifts*
Chocolate
All Chocolate
Yahara Made
Dark Chocolate
Milk Chocolate
White Chocolate
Wisconsin Made
Yahara
Mayana
Alternative Sugar
Dairy-Free
Confections
Tea
Classes
About
Cafe
News
Recipes
0
Recipes
Jul 21, 2024
Green Tea Soda
Jul 25, 2023
Matcha Latte
Jul 21, 2023
Curt's Cloud (Earl Grey Cream Soda)
1
2
Thanks for subscribing
Continue shopping
document.addEventListener('DOMContentLoaded', function () { const productJson = document.querySelectorAll('[data-product-json]'); if (productJson.length > 0) { for (let i = 0; i < productJson.length; i++) { const current = productJson[i]; const section = current.closest('[data-section-id]'); const product = JSON.parse(current.text); const unavailableVariants = product.variants.filter(variant => !variant.available); if (unavailableVariants.length > 0) { const variantOptions = section.querySelectorAll('.single-option-selector option'); unavailableVariants.forEach(unavailableVariant => { variantOptions.forEach(option => { if (unavailableVariant.title === option.value) { option.setAttribute('disabled', 'disabled'); } }); }); } } } });