Sample valid credit card numbers for testing

Here is a list of sample/dummy/test credit card numbers, which are safe to use when you test credit card functionality on a website or application that involves credit card transactions. These credit card numbers validate properly but they are not actually in use. NOTE: Expiry or Expiration date can be any valid date of the … Read more

Magento: Up-sells, Cross-sells and Related products are not showing up

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: I have added up-sells, cross-sells and related products to a product from admin. But when I view the product from frontend, I don’t … Read more

Disqus: Solution to Error ‘Closing Tag Mismatch’ in RSS Feed

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. … Read more

Magento: How to get / filter all products by attribute value?

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. For this, you need the attribute code and attribute value ID for which you are fetching products. … Read more

Blogspot: How to add google adsense to your blogger website?

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. Adding adsense in sidebar – Get adsense code from Google (http://adsense.google.com) – Go to your Blogger Dashboard – Go to … Read more

Magento: How to remove index.php from URL?

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. – Then login to Magento admin panel – Go to System -> Configuration -> Web -> Search Engines Optimization -> Use Web … Read more

Magento: Product is still visible in catalog and search even after changing visibility to nowhere

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: This problem arises because the Scope of Visibility attribute is Store View by default. This means that it’s value is set differently for each … Read more

Magento: How to enable maintenance mode?

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 … Read more