news

Saturday, June 4, 2022

Victoria Myers

Good morning lovely knitters!  It is June!!  The pollen and summer is undeniably here!  Phew - that was a total pollen bomb this week - I hope all of your sinuses survived it!

Our featured pattern for June is When the Sun Comes Out!!  

I always mean to acknowledge Pride month in some way, but usually have brain fog until July or August. I thought since I ACTUALLY remembered in time, our featured pattern should be When the Sun Comes Out!

This is a gorgeously soft, rainbow delight that is made with Juniper Moon Farm Herriot Fine and Teenie Weenie Wools for the color pops! You can find kits here which will come with a FREE pattern download code and bonus 20% off any other pattern!

Or you can get the pattern by itself here and use code JUNEPOM to save 20% during June!
We also released a BRAND NEW summery top pattern! 
Wane is made with delicious Juniper Moon Farm Cumulus Degrade - and a super quick knit! I could have one of these in every color - and then I'd have one for every day of the week! Find Cumulus Degrade here and the pattern here: https://www.ravelry.com/patterns/library/wane-2
Get this one on the needles soon and wear it for the rest of the summer!!
We're also still collecting blankets for BMC.  Just a little reminder if you have some leftover stash to move along or need a nice mindless project!
Hope to see you all today!
Island Yarn 
189 Main Street
Maynard, MA  01754
Hours: Wednesday 12 - 5, Thursday 12 - 8, Friday and Saturday, 12-5

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