Home » Archive

Articles Archive for Year 2010

Magento »

[31 Dec 2010 | 8 Comments | 3,084 views]

Here is a quick solution to the problem of upsell, cross sell and related products not showing up in Magento shop frontend. This problem occurs in Magento version 1.4 or higher. Scenario:

Miscellaneous »

[27 Dec 2010 | No Comment | 134 views]

Scenario: I am using wordpress for my blog. I have registered my blog in disqus.com. I just installed the ‘Disqus Comment System’ wordpress plugin in my blog. Now, when I try to access my blog’s RSS Feed, I get error saying “Closing Tag Mismatch” and the RSS Feed is not displayed properly. The feed crashes. [...]

Magento »

[23 Dec 2010 | 2 Comments | 3,872 views]

Here, I will show you how you can filter or fetch products related to any particular attribute and value. A simple scenario will be filtering products by manufacturer/brand. Suppose, I want to get all products under ‘Samsung’ manufacturer/brand.

Blogger/Blogspot, Google, Making Money Online »

[20 Dec 2010 | No Comment | 365 views]

Here, I will be showing you how you can add google adsense to your blogger / blogspot website. Note: I will be telling about adding adsense in sidebar and in each single post as well.

Blogger/Blogspot »

[15 Dec 2010 | No Comment | 217 views]

You can easily hide or remove the top navigation bar from your blogger website. You just need to add a simple CSS code. – Go to Design -> Edit HTML of your blogger website. – Add the following CSS code (You can write the CSS code inside style tag OR, you can put it in [...]

Magento »

[10 Dec 2010 | No Comment | 1,094 views]

In your Magento shop URL, if you see “index.php” and wanted to remove it then here is the solution. – First of all, apache module ‘mod_rewrite‘ should be enabled. Check apache’s httpd.conf file this. – Then login to Magento admin panel – Go to System -> Configuration -> Web -> Search Engines Optimization -> Use [...]

Magento »

[6 Dec 2010 | No Comment | 778 views]

Scenario: I have changed my product’s Visibility to ‘Nowhere‘. But still the product is visible in both catalog and search. I have refreshed cache but the problem is still there. Cause:

Magento »

[1 Dec 2010 | One Comment | 2,168 views]

Maintenance mode is a key feature required to any website. You need to set the live website into maintenance mode whenever you need to do any changes in the website. Here, I will show how you can do this in Magento. For Magento version 1.4 and above, you just need to create a file named [...]

Magento »

[22 Nov 2010 | 2 Comments | 2,959 views]

Here is a quick code to check if the current page is homepage or not. Below is an alternative way to check for homepage:-

Magento »

[15 Nov 2010 | 9 Comments | 13,049 views]

In my previous article (Magento: Very Useful Collection Functions), I had written about database interaction functions present in class Varien_Data_Collection_Db. Here, I am going to explain some database interaction functions present in the class Mage_Eav_Model_Entity_Collection_Abstract. These collection functions are very useful to select data from Magento database. We need them almost all the time for [...]

Humor »

[12 Nov 2010 | 2 Comments | 405 views]

Here is a funny summary of the Bhagavad Gita (Hindi) for Computer Programmers / Developers.. Cheers !!

Magento »

[8 Nov 2010 | 5 Comments | 2,971 views]

Here is a quick code to convert price amount from current currency of the shop to base currency. This is applicable when you have a multiple currency shop. From the code below, you can convert any currency you desire. You just need the ‘From Currency Code’ and ‘To Currency Code’. In the example below, I [...]

Humor »

[1 Nov 2010 | 10 Comments | 972 views]

Here are the 9 Promises taken before choosing the Software Field. 1) I have already enjoyed my life in childhood. 2) I love tension.

PHP »

[25 Oct 2010 | 12 Comments | 10,207 views]

In this tutorial, I will be showing you how you can fetch any company’s data from Yahoo! Finance. INTRODUCTION

PHP »

[18 Oct 2010 | One Comment | 2,209 views]

In this article, I will be showing you how to read and write CSV file with PHP. I have used PHP function fgetcsv to read CSV fields and fputcsv to write on CSV file. fgetcsv — Gets line from file pointer and parse for CSV fields. fgetcsv() parses the line it reads for fields in [...]