Articles Archive for Year 2010
Magento »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »
Here is a funny summary of the Bhagavad Gita (Hindi) for Computer Programmers / Developers.. Cheers !!
Magento »
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 »
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 »
In this tutorial, I will be showing you how you can fetch any company’s data from Yahoo! Finance. INTRODUCTION
PHP »
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 [...]
