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
  • How to show only Visible/Active Products in Product Count
    Magento | PHP

    How to show only Visible/Active Products in Product Count

    14 October 20163 March 2022 Last updated on3 March 2022

    Magento’s integrated function getProductCount() also counts invisible/inactive products. If your theme displays product counts next to each category (e.g. in the top menu or category blocks), this can be very confusing for your customer. If your category product count shows 10 products, but 6 are set to invisible. Your customer wil end up very disappointed…

    Keep reading How to show only Visible/Active Products in Product CountContinue

  • Return total number of items in Cart
    Magento | PHP

    Return total number of items in Cart

    7 October 20163 March 2022 Last updated on3 March 2022

    Sometimes you run into tiny idiosyncracies in Magento templates. It makes you question many things. Such as: why would a theme developer choose to only show the total amount of different types of products in the minicart.phtml? Today I’m showing you different ways to return the total amount of items in your customer’s shopping cart…

    Keep reading Return total number of items in CartContinue

  • Redirect Simple Products to Configurable Parents with Options Preselected
    How-To's | Magento | PHP

    Redirect Simple Products to Configurable Parents with Options Preselected

    23 September 201610 November 2021 Last updated on10 November 2021

    Recently I met quite a challenge while building an extension for Magento. By default, the urls of simple child products whom belong to a configurable parent are answered with a 404. This behaviour can be easily overridden with a small extension. Our client wanted to take it a step further. Today we will build an…

    Keep reading Redirect Simple Products to Configurable Parents with Options PreselectedContinue

  • Get Total Price of Cart Including/Excluding VAT/Tax in Magento Minicart Widget
    Magento

    Get Total Price of Cart Including/Excluding VAT/Tax in Magento Minicart Widget

    5 September 201610 November 2021 Last updated on10 November 2021

    A quick post here, which is more of a note to myself, because I’ve just spent one hour digging through methods for this. If you want to display the total price including or excluding VAT in Magento, using strictly methods already integrated in Magento, use the below code to call these in a pre-formatted way….

    Keep reading Get Total Price of Cart Including/Excluding VAT/Tax in Magento Minicart WidgetContinue

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