|
@@ -50,8 +50,8 @@ |
|
|
block discarded – undo |
|
50
|
50
|
if( isset( $this->detailProductItem ) |
|
51
|
51
|
&& ( $articleId = $this->param( 'd_articleid' ) ) |
|
52
|
52
|
) { |
|
53
|
|
- foreach($this->detailProductItem->getListItems( 'product', 'default' ) as $listItem) : |
|
54
|
|
- if($product = $listItem->getRefItem()) : |
|
|
53
|
+ foreach( $this->detailProductItem->getListItems( 'product', 'default' ) as $listItem ) : |
|
|
54
|
+ if( $product = $listItem->getRefItem() ) : |
|
55
|
55
|
$varAttr[$product->getId()] = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' ); |
|
56
|
56
|
endif; |
|
57
|
57
|
endforeach; |
Please login to merge, or discard this patch.