Coding Notes Shopify

Append Tags to Shopify Products Using PHP

I’m using the code below to update hundreds of product tags in Shopify, you might be able to find an app in Shopify but this way seems quicker for me. This code was tested on API version 2020-01. PHP 7.2 + Required This code uses your terminal/command prompt to execute the php script and requires …

Continue Reading
Offtopic

Whirlpool Top Loading Washer Doesn’t Agitate or Spin

Random post, I wanted to write this down in case this issue happens again. My Whirlpool top loading washer (Model #WTW4950XW2) wasn’t spinning or agitating properly. To fix this I replaced the Washer Motor Run Capacitor. The whole process took about 5 minutes to complete. I ran about 10 loads since I replaced the capacitor …

Continue Reading
Coding Notes iOS/Objective-C

Delete Duplicate Photo Albums in XCode Objective-C

I accidentally created too many photo albums with the same name, I needed a solution to delete it all without manually deleting it. There’s probably an easier way to do this if you know it let me know. NSString *albumName = @”SOME ALBUM”; __block PHAssetCollection *albumCollection = [[PHAssetCollection alloc] init]; PHFetchOptions *albumOptions = [[PHFetchOptions alloc] …

Continue Reading