Articles Archive for June 2012
Magento »
While upgrading Magento, I am getting this error when I go to product list page.
Error:
Warning: Invalid argument supplied for foreach() in …/template/catalog/product/list/toolbar.phtml
Solution:
Magento »
Cron Job is used to perform any action in a certain interval of time. In a Magento webshop, there are certain tasks that needs cron jobs to be run, i.e. these tasks/actions need to be performed periodically.
Here are some of them:-
Magento »
Here is a quick code to get product information with SKU value.
Get product information by sku
1 2 3 4 5 6 | // Get product by sku $sku = "microsoftnatural"; $product = Mage::getModel('catalog/product') ->loadByAttribute('sku', $sku); // print product data echo "<pre>"; print_r($product->getData()); echo "</pre>"; |
Sports »
The 2012 UEFA European Football Championship, commonly referred to as Euro 2012, will be the 14th European Championship for national football teams organised by UEFA. It is scheduled to take place between 8 June and 1 July 2012 in Poland and Ukraine. It is the first time that either nation has hosted the tournament. There are 16 national teams competing for the title, as has been the format since 1996.
Google, Magento »
I had an old version of Magento. I had enabled google analytics tracking from Magento admin. But, google analytics was not tracking my webshop.
The main reason behind this was that Google had modified its analytics tracking code and the GoogleAnalytics core module of Magento had old tracking code.
Mukesh Chapagain is a graduate of Kathmandu University (Dhulikhel, Nepal) from where he holds a Masters degree in Computer Engineering. Mukesh is a passionate web developer who has keen interest in open source technologies, programming & blogging.