Home » Magento tutorials (page 2)

Magento tutorials

Feed Subscription

Wide range of magento tutorials for every magento user

How to create a new Magento attribute and attribute group using the sql setup file

attribute magento

How to create a new Magento attribute and attribute group using the sql setup file? More than often, we need to create a new Magento attribute to extend some Magento functions, or even a new attribute group to serve our own module.  Here is how we do it using the sql setup file. First, a few words about the sql ... Read More »

How to configure Magento Cache for best performance

best magento cache strategy

How to configure Magento Cache for best performance? Magento Cache enhances your site’ performance, provide a faster load speed, so how to configure it properly for best performance? In this tutorial, we will find out which backend cache (File System, APC, Memcached, Redis) is recommended to use in which environment (single server ormultiple server) and how to configure it the rigth way. Understanding Magento’s Two-Level ... Read More »

How to get information of the current logged in users in Magento

Customers_list[1]

In this tutorial, we will show you how to get account information of the current logged in user to get all of his information like username, email Method 1: Under  “app/code/core/Mage/Page/Block/Html/Header.php”: [crayon-58ff0961cf376083835293/] This line [crayon-58ff0961cf37f212422446/] will get your current logged in customer To get all information of the currently logged in admin, put this code: [crayon-58ff0961cf384770940011/] for Email only, you can use this [crayon-58ff0961cf388013751558/] ... Read More »

How to create a custom block in Magento

fileproxy

This is a quick 6 step tutorial on how to create a custom block in Magento. STEP 1: Global module configuration Create your custom block configuration xml file inside the app/etc/modules/ directory. I named mine Gravitywell_All.xml. [crayon-58ff0961cf96b321888328/] STEP 2: Directories Create the correct directories for your module: [crayon-58ff0961cf973685451511/] STEP 3: Module configuration Add your module configuration file. This should be named config.xml and placed insideapp/code/local/Gravitywell/Example/etc. ... Read More »

Exception printing is disabled by default for security reasons – How to solve

magento-error2[1]

Whenever you see this error: [crayon-58ff0961cff0d190117523/] You can do as followed: 1. Locate the root directory where your Magento is installed. Search for “errors” directory. 2. Change the filename of local.xml.sample to local.xml 3. Reload the page where it shows error message, you will see a full list of error message – The purpose of rename local.xml is to allow ... Read More »

Scroll To Top