Saturday, May 7, 2022

Victoria Myers

Good morning lovely knitters!  It is Mother's Day weekend!  So, I hope you all have a fun time planned!  I've had a few smart people coming in to buy happy yarn or giftcards for a couple of you, but if you think your family might not be on top of it (it IS early this year!) drop them a hint!  Nothing like a yarny Mother's Day!

Our MAY featured pattern is What Did I Come In Here For!
This fantastically fun knit with Louisa Harding Pittura and Teenie Weenie Wool skeins.  But hurry! I don't think Pittura is too long for this world, so this may be the last moment in the sunshine for this gorgeous shawl!
As with all of our featured monthly patterns, you'll get a bonus 25% off any pattern code in addition to the free code for What Did I Come In Here For when you get the kit here.
If you want to score this pattern alone for 25% off, you can use code MAYPOM and get it here.
There are just a couple of days left to sign up for Save Our Sanity for May - and this one is SO fun!  I've been making one almost every day - perfect gifts, if I finally ever fulfill my own needs/desires for this mystery project!
We also FINALLY got a restock of Noro Akari!  So that means you can get your Livingston shawls on the needles!  This fun summery shawl is a delight to knit - and Akari - oh my!  It is one of my favorites!
We also got NEW YARN this week!  Eco Organic Cotton is just perfect for all of your summery sweaters - and great for kids too!
Our Bag of Dragons class starts tomorrow and I think there is still one spot left!  This is a great, fun knit!  And fun with felting too!
And just lastly - someone came in yesterday after not hearing back from an email she sent about the test knitting - and we found it in spam.  ARGH!  If you have emailed me and haven't heard back - either try again, pop in, call, or message me on Ravelry (Vicknit).  I have no idea why gmail would've marked her message that way, but if you don't hear back from me within a day or two- I haven't gotten the email at all, so please try again!  Thanks!!
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 = .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 ="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(), ); }