Magento Themes and Magento Extensions

Magento Admin area charts powered by Google Charts

Share
Posted on January 21st, 2015 | Posted by admin

Just an interesting note:
The charts that you see on the dashboard in the Magento Admin area are powered by Google’s Chart API.
You can look it up here: http://code.google.com/apis/chart/

A quick and prelim. exploration of the core files show that the phtml files for this can be found here:
app/design/adminhtml/default/defaut/template/dashboard
The controlling code is here:
app/code/core/Mage/Adminhtml/Block/Dashboard

CUSTOM SORTING BY NEW IN PRODUCTS ON CATEGORY PAGE AND LAYERED NAVIGATION IN MAGENTO

Share
Posted on January 6th, 2015 | Posted by admin

If you want to customize your sorting on category page’s toolbar section, please follow below given suggested method: Create a custom module for overriding Catalog/Block/Product/List/Toolbar.php For that , you must follow the procudure to create a custom module in magento as:

  • code
  • source
  1. <config>
  2. <modules>
  3. <eglobe_catalog>
  4. <active>true</active>
  5. <codepool>local</codepool>
  6. </eglobe_catalog>
  7. </modules>

Get Configurable Super Attributes

Share
Posted on January 5th, 2015 | Posted by admin

I wanted to do a check on a configurable product to see if it had a specific attribute. But not just any attribute, a global attribute used to create associated products within the configurable product – a “Super Product Attribute”. So here ya go:

    $_product = $this->getProduct();
    $_attributes = $_product->getTypeInstance(true)->getConfigurableAttributes($_product);
    foreach($_attributes as $_attribute){
        var_dump($_attribute->debug());
    }

A little bonus:

The “->debug()” method returns the set of values you can use the get magic method on. For example:

BEST CONFIGURATION FOR MAGENTO

Share
Posted on December 19th, 2014 | Posted by admin

Following are some important configurations that will speed up the Magento site . This tutorial is mainly focusing on my.cnf, php.ini and apache configuration files.

1. MySQL Configuration

Proper MySQL configuration will speed up the performance of the system. Below are the necessary configurations for MySQL.

  • code
  • source

Magento Translation, Step Zero: What Must Be Translated?

Share
Posted on December 18th, 2014 | Posted by admin

Internationalization is an increasingly important consideration for Magento merchants developers looking to expand market penetration and increase usability. A significant part of this effort is realized in the form of maintaining translations for multiple locales – quite the undertaking, in spite of Magento’s robust localization capabilities.

However, a journey of a thousand miles begins with a single step, and this initial step can be particularly daunting. What must be translated?

Ideally, every string ever used, be it backend or frontend, would be documented so that an exhaustive list is always available of material scheduled for translation. In practice, however, this is rarely the case – maybe the site or module wasn’t initially slated for an international market or the ROI was difficult to justify. Because of this, orphan strings with no record of their existence are very common and a barrier to internationalization.

Wouldn’t it be nice to have a mechanism to retroactively examine a site or module and perform a translation gap analysis?

Approach

One approach to ferreting out untranslated strings is to modify the translation tool itself to report untranslated strings as they are encountered. This is often expressed as a quick hack to the translation classes whereby strings are logged, then the changes reverted.

The basic idea is solid, but the execution is essentially a transient hack – requiring repeated discovery and implementation, and is prone to oversights.

Page 2 of 76«12345»102030...Last »