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 to see only 4 products in the product list. Today I will show you how to display only visible/active products in your Magento theme’s category product count.
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 for usage anywhere within your store’s template.
Last week a client had a very specific wish for his Magento 1.9.x store. Open a modal authentication dialog, whenever a Guest (non-logged in user) wants to proceed to checkout from the shopping cart. This funtion is now actually built into Magento 2. Today I’m sharing with you how I created the same experience for Magento 1.x users.