Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #15 from robbieaverill/bugfix/11-prices-lost-in-admin
Browse files Browse the repository at this point in the history
[#11] Fix for losing prices in admin
  • Loading branch information
robbieaverill committed Jan 19, 2016
2 parents f0451d1 + 0ec0b77 commit 2206404
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ You can use this extension module to restore to relevance ordering until the cor

## Changelog:

### 1.1.3

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

### 1.1.2

* Fix #12 - hot fix for empty attribute option arrays in the helper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function _loadPrices()
// If option not added, we will add it.
$values[$item->getId() . ':' . $optionValueKey] = array(
'product_super_attribute_id' => $item->getId(),
'value_index' => $optionValueKey,
'value_index' => (string)$optionValueKey,
'label' => $optionsByValue[$optionValueKey],
'default_label' => $optionsByValue[$optionValueKey],
'store_label' => $optionsByValue[$optionValueKey],
Expand Down
2 changes: 1 addition & 1 deletion app/code/local/RobbieAverill/AttributeFix/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
-->
<modules>
<RobbieAverill_AttributeFix>
<version>1.1.2</version>
<version>1.1.3</version>
</RobbieAverill_AttributeFix>
</modules>
<global>
Expand Down

0 comments on commit 2206404

Please sign in to comment.