Code

Shopify Dawn 7.0.0+ Disable Cart Drawer Popup

Shopify Dawn 7.0.0+ Disable Cart Drawer Popup

November 3rd, 2022

If you use a third-party app to create a slide-out cart, then you will likely want to disable dawn’s (new) [More…]

Shopify Liquid Get Variant Object From Metafield

Shopify Liquid Get Variant Object From Metafield

August 10th, 2022

When setting a metafield to a type “variant” you would be forgiven for thinking it would return a product object [More…]

Shopify Liquid Get Product Object From Metafield

Shopify Liquid Get Product Object From Metafield

August 3rd, 2022

When setting a metafield to a type “product” you would be forgiven for thinking it would return a product object [More…]

Shopify Dawn Disable Autoscroll On Variant Change

Shopify Dawn Disable Autoscroll On Variant Change

July 18th, 2022

While implementing a scroll-spy for a client, the page kept scrolling to the top. Initially, I figured it had been [More…]

Magento 2 Get RMA By ID Programatically

Magento 2 Get RMA By ID Programatically

July 20th, 2021

Since using RMA’s in Magento 2 is an Enterprise-only feature, there is not much information out there on what classes [More…]

Magento 2 Get Product ID From RMA Item Programatically

Magento 2 Get Product ID From RMA Item Programatically

July 15th, 2021

Since RMA’s are only a feature of Magento EE, there’s not much information out there about creating custom modules to [More…]

XML/HTML Tag Stripper

XML/HTML Tag Stripper

July 31st, 2020

If you’ve ever needed to strip the HTML/XML tags and leave just the values within the tags, then this page [More…]
Magento 1 Get First, Last, or Middle Name Returning Null

Magento 1 Get First, Last, or Middle Name Returning Null

July 2nd, 2020

While creating an extension to create pdf shipping labels in Magento 1, I ran into an issue where I wasn’t [More…]
San Diego COVID-19 Daily Cases

San Diego COVID-19 Daily Cases

June 2nd, 2020

Once again building off of an earlier project, I decided to make use of all the historical data to create [More…]
Magento 2 Programmatic Redirect Without Custom Controller

Magento 2 Programmatic Redirect Without Custom Controller

May 29th, 2020

While creating a custom program for my work, I attempted to figure out if there was a way to create [More…]
Displaying OpenAerialMap Tiles Using Leaflet.js

Displaying OpenAerialMap Tiles Using Leaflet.js

April 29th, 2020

Leaflet.js is a very powerful javascript library for creating browser-based maps and mapping related experiments. Recently as I was getting [More…]
Mediawiki fix “Error creating thumbnail: libgomp: Thread creation failed: Resource temporarily unavailable”

Mediawiki fix “Error creating thumbnail: libgomp: Thread creation failed: Resource temporarily unavailable”

April 16th, 2020

While making some articles on a MediaWiki instance that featured SVG files, I ran into the following error: Error creating [More…]