Home » Archive

Articles in the Magento Category

Magento »

[3 Aug 2015 | No Comment]

You can add custom blocks inside already existing block through your custom layout xml file. You don’t need to change the template (phtml) code.
Suppose, you want to add a block inside product view page. To do so, you can write the following xml code in your custom module’s layout file. In the below code, I have added a button in product view page.

Magento »

[20 Jul 2015 | No Comment]

You have plain text and link to those text in Magento Layered Navigation section. You can easily change the display of Layered Navigation links into a selection box / dropdown list. To do so, you need to edit the following file:
app/design/frontend/YOUR_PACKAGE/YOUR_THEME/template/catalog/layer/filter.phtml

Magento »

[13 Jul 2015 | No Comment]

Here is a quick tip to hide any column from admin grid in Magento. Hiding columns in admin grid becomes necessary when you want those particular columns in exported csv or xml file but you don’t want to display them in the admin grid.
You can hide columns from admin grid by setting column_css_class and header_css_class as no-display to the column you want to hide in the addColumn function. This will hide your column from the admin grid. However, this column will be present when you export the grid data …

Magento »

[6 Jul 2015 | No Comment]

Custom options on Magento products are designed to make simple products function like a configurable product with different choosing options like color, size, etc. before purchasing the product.
In this tutorial, I present the code to create/add, view, and delete custom options of a product in Magento.

Magento »

[23 Jun 2015 | No Comment]

Here is a quick code to get all products from a particular/specified category in Magento.
First of all, you need to load the category (whose products you want to display) and get it’s ID. You can load a category by it’s ID or if you are in a category page then you can get category information from Magento registry. I have included code to load category in both ways.
You can fetch all enabled or disabled and visible or not visible products. We create ‘not visible’ products while creating configurable type …

Magento »

[20 Apr 2015 | No Comment]

Here is a quick tip on editing / changing or removing copyright text information present in the footer of Magento.
You can simply edit or remove it via admin panel.

Guest Post, Magento »

[12 Mar 2015 | 2 Comments]

The year 2014 saw a big boom in the ecommerce market with industry giants like Amazon earning a revenue of staggering $89 billion in contrast to $75 billion the previous year. This stat speak volumes about the humungous growth of ecommerce. From conventional shoppers to entrepreneurs, all have been bitten by ecommerce bug.
What could have spawned this change? The prime reason is access to internet. As far as an ecommerce is concerned, you don’t need to wait on queues, you get unlimited choices, you are able to analyze a product …

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.

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 …

Guest Post, Magento »

[19 Nov 2014 | One 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. …

Magento »

[24 Sep 2014 | No Comment]

I got this error while I was installing a third party Magento module. Actually, the module was tested for higher Magento version than 1.4 and I had to install that module on Magento version 1.4.
Cause:

Magento »

[9 Sep 2014 | One Comment]

Here is the code to delete all shopping cart items of currently logged in single customer:

Magento »

[19 Aug 2014 | 4 Comments]

By default, customers are redirected to ‘Customer Account Dashboard’ page after login. This feature can be easily changed from Magento configuration settings.
Configuration Settings