Skip to content

Commit

Permalink
added ATTRIBUTE_ID and ATTRIBUTE_AVAILABILITY_ID to attribute_combina…
Browse files Browse the repository at this point in the history
…tion loop
  • Loading branch information
bibich authored and Julien Chanseaume committed Jul 16, 2014
1 parent 3745de8 commit 9900ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Thelia/Core/Template/Loop/AttributeCombination.php
Expand Up @@ -103,6 +103,8 @@ public function parseResults(LoopResult $loopResult)
$loopResultRow = new LoopResultRow($attributeCombination);

$loopResultRow
->set("ATTRIBUTE_ID", $attributeCombination->getAttributeId())
->set("ATTRIBUTE_AVAILABILITY_ID", $attributeCombination->getAttributeAvId())
->set("LOCALE",$this->locale)
->set("ATTRIBUTE_TITLE", $attributeCombination->getVirtualColumn(AttributeTableMap::TABLE_NAME . '_i18n_TITLE'))
->set("ATTRIBUTE_CHAPO", $attributeCombination->getVirtualColumn(AttributeTableMap::TABLE_NAME . '_i18n_CHAPO'))
Expand Down

0 comments on commit 9900ace

Please sign in to comment.