Lab of Team Net World

How to Speed Up Your Magento Store - Performance Optimization Tips

July 6, 2016 | Magento 2 | Comments Off

How to Speed Up Your Magento Store - Performance Optimization Tips

Magento Sets the pinnacle among ecommerce platforms and globally accepted by developers and eCommerce owners. Despite its popularity magento is quite heavy CMS and run slowly if right configuration and settings are not applied. This is because these settings are not quite obvious, infest missed by e...

[ read more ]

Overcoming Magento’s full-page cache through hole punching

July 6, 2016 | Magento 2 | Comments Off

Overcoming Magento’s full-page cache through hole punching

Recently I was tasked to develop a solution for the following problem: Overlay a registration modal only if the user is on the homepage or for every 5 clicks around the website. Sounds simple, and in theory it was; however, Magento always likes to throw curve balls when moving a site from l...

[ read more ]

how to fetch shopping cart items details in magento

July 6, 2016 | Magento 2 | Comments Off

To get individual item details in the shopping cart use the following code. <?php //load shopping cart $shopping_cart = Mage::getModel("checkout/cart"); $cart_items = $shopping_cart->getItems(); foreach($cart_items as $item) { echo $item->getQty(); echo $item->get...

[ read more ]