news

Saturday, December 26th. Phew!

Victoria Myers

Good sunny morning lovely knitters!  It sure is nice to see the sun after ALL that rain.  I didn't think it was ever going to stop for a while there!  I hope you all stayed warm and cozy and with power for all the zooming christmas visits and had a lovely, lovely day!  I know that you deserved it - I've seen LOADS of amazing gifts getting done!  And NOW, it is time to reward yourself for all that hard work - and make something for yourself!  Maybe you've been waiting to cast on a Dragon Scales Shawl?  Or blanket? 

Or want to wrap up in Acorn Path

I wanted to say thank you for all your lovely support this year, so you can use code THANKYOU to save $10 on anything over $40!  :)  (One per person - ends when the ball drops!)

We're also donating 30% of pattern sales to Open Table (the food pantry in Maynard) until the end of the year!  It is a great time to pick up some new patterns for new year inspiration and support a VERY needed food pantry during this wretched time.

There are SO many to choose from!!  Here's just a couple new ones, but if you click the link above - you'll see over 250!

Our hours over the next week are:

Saturday, December 26, 12-4

Wednesday, December 30 - 12-4

Thursday, December 31st - closed

Friday, January 1 - 12-4

Saturday, January 2 - 12-4

After that we'll be back to our current hours of Weds thru Saturday, 12-4

Happy Holidays to you all!!!  Take a deep breath - we've nearly made it through 2020 - the next time you see one of these it will be 2021!!!


Leave a Comment

Please note, comments must be approved before they are published

const selectVariantByClickingImage = { // Create variant images from productJson object _createVariantImage: function (product) { const variantImageObject = {}; product.variants.forEach((variant) => { if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) { const variantImage = variant.featured_image.src .split('?')[0] .replace(/http(s)?:/, ''); variantImageObject[variantImage] = variantImageObject[variantImage] || {}; product.options.forEach((option, index) => { const optionValue = variant.options[index]; const optionKey = `option-${index}`; if ( typeof variantImageObject[variantImage][optionKey] === 'undefined' ) { variantImageObject[variantImage][optionKey] = optionValue; } else { const oldValue = variantImageObject[variantImage][optionKey]; if (oldValue !== null && oldValue !== optionValue) { variantImageObject[variantImage][optionKey] = null; } } }); } }); return variantImageObject; }, _updateVariant: function (event, id, product, variantImages) { const arrImage = event.target.src .split('?')[0] .replace(/http(s)?:/, '') .split('.'); const strExtention = arrImage.pop(); const strRemaining = arrImage.pop().replace(/_[a-zA-Z0-9@]+$/, ''); const strNewImage = `${arrImage.join('.')}.${strRemaining}.${strExtention}`; if (typeof variantImages[strNewImage] !== 'undefined') { product.variants.forEach((option, index) => { const optionValue = variantImages[strNewImage][`option-${index}`]; if (optionValue !== null && optionValue !== undefined) { const selects = document.querySelectorAll('#'+ id + ' [class*=single-option-selector]'); const options = selects[index].options; for (let option, n = 0; (option = options[n]); n += 1) { if (option.value === optionValue) { selects[index].selectedIndex = n; selects[index].dispatchEvent(new Event('change')); break; } } } }); } }, _selectVariant: function() { const productJson = document.querySelectorAll('[id^=ProductJson-'); if (productJson.length > 0) { productJson.forEach((product) => { const sectionId = product.id.replace("ProductJson-", "shopify-section-"); const thumbnails = document.querySelectorAll('#'+ sectionId + ' img[src*="/products/"]'); if (thumbnails.length > 1) { const productObject = JSON.parse(product.innerHTML); const variantImages = this._createVariantImage(productObject); // need to check variants > 1 if (productObject.variants.length > 1) { thumbnails.forEach((thumbnail) => { thumbnail.addEventListener('click', (e) => this._updateVariant(e, sectionId, productObject, variantImages), ); }); } } }); } }, }; if (document.readyState !== 'loading') { selectVariantByClickingImage._selectVariant(); } else { document.addEventListener( 'DOMContentLoaded', selectVariantByClickingImage._selectVariant(), ); }