Skip to content
This repository was archived by the owner on Jun 23, 2021. It is now read-only.

About

Magento extension to add images to product attribute options.

Resources

Code of conduct

Contributing

Stars

31 stars

Watchers

8 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Add images/icons to attribute options of your Magento products

Attribute Option Image

Features

  • Associate image/icon to attribute options
  • Specify relative/external url or pick an image from Magento Media Gallery

Installation

Magento CE 1.5.x, 1.6.x

Install with modgit:

$ cd /path/to/magento
$ modgit init
$ modgit clone attr-opt-img https://github.com/jreinke/magento-attribute-option-image.git

or download package manually:

  • Download latest version here
  • Unzip in Magento root folder
  • Clean cache

Usage

  1. Go to Catalog > Attributes > Manage Attributes, choose an attribute with options and associate an image/icon to each option
  2. In frontend templates, retrieve image src like this Mage::helper('attributeoptionimage')->getAttributeOptionImage($optionId); where $optionId could be something like $product->getColor()

Full overview

I wrote an article on my blog for full extension overview, click here.

About

Magento extension to add images to product attribute options.

Resources

Code of conduct

Contributing

Stars

31 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages