news

Saturday, February 20, 2021

Victoria Myers

Good morning lovely knitters!  THANK GOODNESS the snow finally stopped!  I am unreasonably happy to see the sun this morning - and a potential 48 degrees next week!  Phew - maybe, just maybe, we have turned the corner on winter!

I spent most of this week trying to get our February SOS Box out and finally made a happy, though snowy, trip to the post office yesterday with everything!  And here it is!  A Few Stairs Short of Heaven!

This is such a fun knit to perk up our last bits of really wintery knitting!  And the Cotton Merino means you'll be happily wearing it into at least April (unless we get a crazy heat wave)!  You can find kits here.  AND you can sign up for our Save Our Sanity Knit Box so that you don't miss out on March's great kit at a great deal here!

I got a BIG box of NEW, SPRING yarn this week - you'll have to pop in to see it because with all the shipping madness, I didn't get a chance to get it online yet.  But guess - just GUESS what it is??  Juniper Moon Farm Moonshine FINE!!!  That's right - a fingering weight version of the delicious Moonshine that we all have been delighted with for years!  Come and see!

I also got a fresh new batch of the Noro Magazine with its loads of awesome patterns - just in time too - I was down to my last one!  

I heard from Cindy this week that MAAP REALLY needs adult hats.  If you have hats that you can donate - you can drop them off at the shop and she'll grab them and get them to MAAP in Cambridge!  Thank you!!


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(), ); }