/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $cart = Mage::helper('checkout/cart')->getCart()->getItemsCount(); echo 'cart items count: ' . $cart; ?>