@@ -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 ) { |
@@ -52,9 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | // preselection of a variant product in a selection article |
54 | 54 | $preSelectVariantAttributes = []; |
55 | - if ($this->param( 'productId' )): |
|
55 | + if( $this->param( 'productId' ) ): |
|
56 | 56 | |
57 | - if(($listItem = $this->detailProductItem->getListItem( 'product', 'default', $this->param( 'productId' ))) && ( $product = $listItem->getRefItem() ) ): |
|
57 | + if( ( $listItem = $this->detailProductItem->getListItem( 'product', 'default', $this->param( 'productId' ) ) ) && ( $product = $listItem->getRefItem() ) ): |
|
58 | 58 | $preSelectVariantAttributes = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' ); |
59 | 59 | endif; |
60 | 60 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | <article class="product row <?= $this->detailProductItem->getConfigValue( 'css-class' ) ?>" |
73 | 73 | data-id="<?= $this->detailProductItem->getId() ?>" data-reqstock="<?= $reqstock ?>" |
74 | - data-preselectvariant="<?= $enc->attr($preSelectVariantAttributes)?>" |
|
74 | + data-preselectvariant="<?= $enc->attr( $preSelectVariantAttributes )?>" |
|
75 | 75 | |
76 | 76 | <div class="col-sm-6"> |
77 | 77 |