Skip to content
Daan.dev
  • WordPress PluginsExpand
    • OMGF
    • OMGF Pro
    • OMGF Additional Fonts
    • CAOS
    • CAOS Pro
    • Brevo for EDD
    • Moneybird for EDD
    • WP Help Scout Docs
  • Blog
  • SupportExpand
    • Documentation
    • Priority Support
  • AboutExpand
    • Privacy Policy
    • Terms & Conditions
  • Contact
  • 0
Daan.dev
  • Resource Hints or: how to Speed Up Magento 2 using Preconnect
    How-To's | Magento 2

    Resource Hints or: how to Speed Up Magento 2 using Preconnect

    30 September 201910 November 2021 Last updated on10 November 2021

    A few months ago I showed how using preconnect resource hints can severely speed up your website. I found out that for Magento 2 there are no ready-to-use solutions to integrate preload, preconnect or prefetch headers into your store. So today I’ll show you how to add preload, preconnect and prefetch resource hints to Magento…

    Keep reading Resource Hints or: how to Speed Up Magento 2 using PreconnectContinue

  • How to add Products to Topmenu in Magento 2
    How-To's | Magento 2

    How to add Products to Topmenu in Magento 2

    14 August 20193 March 2022 Last updated on3 March 2022

    Let’s say your company sells one product. This deserves the spotlight, right? Let’s say you want to give your product a prominent place in the topmenu. Since Magento 2 natively only supports adding categories to its topmenu, you’re up for a challenge! Today I’ll show you how to create a module which allows you to…

    Keep reading How to add Products to Topmenu in Magento 2Continue

  • Redirect Simple Products to their Configurable Parent with Attributes Pre-selected in Magento 2
    How-To's | Magento 2

    Redirect Simple Products to their Configurable Parent with Attributes Pre-selected in Magento 2

    15 August 201810 November 2021 Last updated on10 November 2021

    About two years ago I wrote a tutorial on how to redirect simple products to their configurable parents with pre-selected attributes in Magento 1.9.x. Shortly after that Magento 2 was released and I’ve received some requests on how to do the same in the new version. In this post I will explain to you how…

    Keep reading Redirect Simple Products to their Configurable Parent with Attributes Pre-selected in Magento 2Continue

  • Fix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2
    How-To's | Magento 2

    Fix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2

    14 August 20183 March 2022 Last updated on3 March 2022

    Many people have complained on Magento Dev’s Github about a bug in Magento 2, which occurs when you try to pre-select configurable attributes by parsing the URL. It triggers an Uncaught TypeError in your console and causes all Javascript execution to crash, causing the image gallery not be updated. In this tutorial I’ll show you…

    Keep reading Fix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2Continue

  • How to Write Data to Custom Database Table and Create a Custom Collection in Magento 2
    How-To's | Magento 2

    How to Write Data to Custom Database Table and Create a Custom Collection in Magento 2

    21 July 20183 March 2022 Last updated on3 March 2022

    Recently I created a Magento 2 module which imports data from a custom source, writes it to a custom database table and updates existing entities using a Custom Collection. Because I thought it might come in handy for other beginning Magento 2 developers, I’ll share it with you today. This tutorial consists of a few…

    Keep reading How to Write Data to Custom Database Table and Create a Custom Collection in Magento 2Continue

Daan van den Bergh is the CEO, CTO, CFO, CMO, CHRO and MOFO at Daan.dev. Besides this complicated relationship with his company, he's a married father of 3 human and 2 feline children. He loves craft beer, a good steak and Italian ice cream. Preferably, in that order, and on a sunny day.

My Plugins

  • OMGF Pro
  • OMGF Additional Fonts
  • Moneybird for EDD
  • WP Help Scout Docs
  • Brevo for EDD
  • CAOS Pro

Navigation

  • WordPress Plugins
  • Blog
  • About

Support

  • Account
  • Documentation
  • Get Support
  • Affiliates
  • Privacy Policy
  • Terms & Conditions

 


© 2026 Daan.dev • Privacy Policy | Terms & Conditions

  • WordPress Plugins
    • OMGF
    • OMGF Pro
    • OMGF Additional Fonts
    • CAOS
    • CAOS Pro
    • Brevo for EDD
    • Moneybird for EDD
    • WP Help Scout Docs
  • Blog
  • Support
    • Documentation
    • Priority Support
  • About
    • Privacy Policy
    • Terms & Conditions
  • Contact
  • Account
  • Cart
    0