@@ -384,7 +384,7 @@ |
||
| 384 | 384 | $domain = str_replace( '/', '_', $item->getResourceType() ); // maximum compatiblity |
| 385 | 385 | |
| 386 | 386 | if( in_array( $item->getResourceType(), ['catalog', 'product', 'supplier'] ) ) { |
| 387 | - $tags[] = $tagAll ? $domain . '-' . $item->getId() : $domain ; |
|
| 387 | + $tags[] = $tagAll ? $domain . '-' . $item->getId() : $domain; |
|
| 388 | 388 | } |
| 389 | 389 | |
| 390 | 390 | if( $item instanceof \Aimeos\MShop\Common\Item\Time\Iface && ( $date = $item->getDateEnd() ) !== null ) { |
@@ -50,8 +50,8 @@ |
||
| 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; |