Code

NetSuite PHP Toolkit: Get Item By Internal ID

NetSuite PHP Toolkit: Get Item By Internal ID

March 20th, 2023

The NetSuite PHP Toolkit is surprisingly fully featured but not very well documented. This will be the first of several [More…]

Shopify Access Metaobjects With Liquid

Shopify Access Metaobjects With Liquid

February 15th, 2023

Shopify recently released their Shopify Editions 2023, highlighting new features and updates to the platform. One of these new features [More…]

PDO/PHP Batch Inserting Records to Improve Speed

PDO/PHP Batch Inserting Records to Improve Speed

January 25th, 2023

While making a remittance checker I was running into issues with the huge amount of records coming in that needed [More…]

Shopify Dawn Theme Disable Cart Drawer Open on Add to Cart

Shopify Dawn Theme Disable Cart Drawer Open on Add to Cart

December 5th, 2022

If you want to install a different app for, say, a slideout cart, you may want to disable the inbuilt [More…]

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…]