PHPackages                             robbieaverill/magento-attribute-option-order-fix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. robbieaverill/magento-attribute-option-order-fix

AbandonedArchivedMagento-module

robbieaverill/magento-attribute-option-order-fix
================================================

Magento configurable attribute option order fix

1.1.4(10y ago)2710.7k8GPL-3.0PHPPHP &gt;=5.4

Since Jan 14Pushed 9y ago13 watchersCompare

[ Source](https://github.com/robbieaverill/magento-attribute-option-order-fix)[ Packagist](https://packagist.org/packages/robbieaverill/magento-attribute-option-order-fix)[ RSS](/packages/robbieaverill-magento-attribute-option-order-fix/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (6)Used By (0)

Magento configurable product attribute order fix
================================================

[](#magento-configurable-product-attribute-order-fix)

[![Build Status](https://camo.githubusercontent.com/ce11f5370bdc1054c368d278f02c9451130c968bcba0d47ab25669628a4b5728/68747470733a2f2f7472617669732d63692e6f72672f726f6262696561766572696c6c2f6d6167656e746f2d6174747269627574652d6f7074696f6e2d6f726465722d6669782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robbieaverill/magento-attribute-option-order-fix) [![Packagist](https://camo.githubusercontent.com/a68d602ed4e844295e5c8135e506fe578d17bb8688b34c6d9ae846bf84b8f5d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6262696561766572696c6c2f6d6167656e746f2d6174747269627574652d6f7074696f6e2d6f726465722d6669782e737667)](https://packagist.org/packages/robbieaverill/magento-attribute-option-order-fix)

Information
-----------

[](#information)

### Magento patch

[](#magento-patch)

**Please note:** According to the [bug report](https://www.magentocommerce.com/bug-tracking/issue/index/id/413), Magento have scheduled a patch for this issue to be released (CE 1.9.3):

> The issue is scheduled for next minor (not patch) release that is expected in H1 2016.
>
> *14/08/2015 4:02PM*

When this patch is deployed, this module will be marked as deprecated. It will remain available for anyone who wants to use it in older versions of Magento (pre 1.9.3).

---

A module to re-apply the relevance ordering for configurable attribute options in Magento CE 1.9.1, 1.9.2 or EE 1.14.2.

Why? The logic was changed in the recent version of core Magento to avoid nested `foreach` statements, but in turn lost the relevance ordering in favour of ordering by the attribute IDs.

You can use this extension module to restore to relevance ordering until the core resource model has been updated by Magento.

Installation
------------

[](#installation)

#### Install using composer

[](#install-using-composer)

```
$ composer require robbieaverill/magento-attribute-option-order-fix

```

#### Install using modman

[](#install-using-modman)

This is the preferred installation method, unless installing manually.

```
$ modman init
$ modman clone https://github.com/robbieaverill/magento-attribute-option-order-fix

```

#### Manual installation

[](#manual-installation)

- Clone this repository
- Copy the `app/code/local` files into your Magento codebase
- Copy the `app/etc/modules/RobbieAverill_AttributeFix.xml` file into your `app/etc/modules` folder
- Clear your cache

Notes:
------

[](#notes)

- Updated to work correctly on Magento CE 1.9.2
- Uses traits, so no longer supports PHP 5.3 or lower. Minimum 5.4 required.

Changelog:
----------

[](#changelog)

### 1.1.4

[](#114)

- Added Packagist support. Updated composer PHP version requirement to 5.4.

### 1.1.3

[](#113)

- Fix #11 - prices cleared when creating simple products in admin

### 1.1.2

[](#112)

- Fix #12 - hot fix for empty attribute option arrays in the helper

### 1.1.1

[](#111)

- Fix #12 - added support for ordering swatch options
- Removed support for PHP 5.3 as we use traits now

### 1.0.1

[](#101)

- \#10 - added `composer.json` for composer installation.

### 1.0.0

[](#100)

- Fix #9 - clash between keys and values (thanks @bincani)

### 0.1.3

[](#013)

- Added configuration unit tests
- Added Travis CI build configuration

### 0.1.2

[](#012)

- Updated docblocks and readme
- Return `self` instead of the full class name
- Added `modman` config file (@ngongoll)

### 0.1.1

[](#011)

- Compatibility check against Magento CE 1.9.2

### 0.1.0

[](#010)

- Initial module added
- Use rewrite of configurable attribute collection model

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 93.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

5

Last Release

3739d ago

PHP version history (2 changes)1.0.1PHP &gt;=5.3

1.1.4PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/04057079b9a8a168a9e8c40cf7bac17f05047255c48b71b63fc610db06f096cb?d=identicon)[robbieaverill](/maintainers/robbieaverill)

---

Top Contributors

[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (29 commits)")[![bincani](https://avatars.githubusercontent.com/u/2114530?v=4)](https://github.com/bincani "bincani (1 commits)")[![ngongoll](https://avatars.githubusercontent.com/u/9540678?v=4)](https://github.com/ngongoll "ngongoll (1 commits)")

---

Tags

attributesconfigurable-productsmagentopatchesmagentoattribute

### Embed Badge

![Health badge](/badges/robbieaverill-magento-attribute-option-order-fix/health.svg)

```
[![Health](https://phpackages.com/badges/robbieaverill-magento-attribute-option-order-fix/health.svg)](https://phpackages.com/packages/robbieaverill-magento-attribute-option-order-fix)
```

###  Alternatives

[msp/devtools-m1

MageSpecialist DevTools for Magento 1

2640.3k](/packages/msp-devtools-m1)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
