Magento »

[23 Feb 2015 | One Comment]

Here are the code snippets to check for different secure URLs in Magento.
Secure URL can be enabled from configuration settings (System -> Configuration -> GENERAL -> Web -> Secure).
Enable Secure URL in Frontend

Magento »

[9 Feb 2015 | No Comment]

Here are the code snippets to get base currency code, default currency code, current currency code, all allowed currency code and current currency rate in Magento.
Base currency is the currency that is used for online transaction from your store.

Magento »

[26 Jan 2015 | One Comment]

This tutorial shows how to add a custom select list in configuration settings of a custom Magento module.
Suppose, your module’s namespace is YourNamespace and your module’s name is YourModule. And, you want to add a selection list of Brands that contains mobile brand names like Samsung, Sony, Apple, etc.

Facebook »

[12 Jan 2015 | No Comment]

When you share a link of your page on Facebook, you may notice that Facebook is fetching images from your page. If there are multiple images on your page then you can have option to select the image to be displayed on the shared post. Sometime an advertisement image might be displayed as the first image while sharing link through Facebook.
Generally, when people share a link, they don’t bother about choosing the right image, editing title or description. They will just paste the link and hit the post button. …

Guest Post, Magento »

[30 Dec 2014 | No Comment]

Serving as a global leader in e-commerce solutions, Magento has been into existence since 5 years from now. With over 4 million downloads till date, Magento has been successful in becoming the number one choice of online merchants worldwide. With Magento 2 beta release planned for December 2014, e-store builders have got a whole new reason for celebration. With the ever booming e-commerce market, Magento 2 promises to offer features that will play a pivotal role in pacing up the growth of e-commerce industry. Keep on reading this blog to …

Python »

[18 Dec 2014 | No Comment]

print_r prints a PHP variable into human readable form.
The same can be achieved in Python using pprint module.

Joomla »

[2 Dec 2014 | One Comment]

The menus were working fine before. Then I changed alias of one menu.
For example: I changed to
Now, I am getting redirected to 404 error page on both for both of the above URLs.

Guest Post, Magento »

[19 Nov 2014 | No Comment]

The online sales of U.S. would be approximately $278.9 billion by the end of 2015, according to the stats of Forrester Research, a technology and research company based in Cambridge, MA. So, leaving the boundaries of brick and mortar stores and entering the web world is crucial to grab the online revenue generating opportunities.
The online battle is heating up with growing customer expectations, and never-ending business growth dreams of merchants. An ecommerce store with a single product may have buyers of different age group, different personalities, and different preferences. …

Linux, Ubuntu, Xubuntu »

[10 Nov 2014 | No Comment]

Here are some linux commands (pactl and amixer) to increase and decrease volume. You can also use these commands to set keyboard shortcut to increase and decrease volume.