Magento Themes and Magento Extensions

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:

Multipurpose Responsive Magento Themes

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

The Jekyler is a Multipurpose Responsive Magento Theme. If you want to have a very unique and attractive design and trying to make your way among numerous store owners, Jekyler is a great starting point for you.

The Jekyler with powerful features, easy to customize, power admin, cool effect. We hope you will have a great experience.

Main Features

  • Full Responsive Design

Get Product Image based on its Position – Magento

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

You might have seen website where the product images changes when you move mouse on it. In this tutorial i’ll show you how to do it with Magento.

You need to create a small module to achieve this. We will add this function in the helper file of the module so it can be called globally anywhere using helper function.

If you are not familiar with module creation i’ll list the steps below:

Step 1: Create a file in “app/etc/modules” named “Greeting_Imagealt.xml”. The content of the file will be.

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.