getLayout

Show Products in Cart

Return total number of items in Cart

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.

Continue reading…