@@ -54,7 +54,7 @@ |
||
54 | 54 | { |
55 | 55 | if( $product = $listItem->getRefItem() ) { |
56 | 56 | $varAttr[$product->getId()] = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' ); |
57 | - } |
|
57 | + } |
|
58 | 58 | } |
59 | 59 | } |
60 | 60 |
@@ -144,10 +144,10 @@ |
||
144 | 144 | $view->summaryBasket = $order; |
145 | 145 | |
146 | 146 | } else { |
147 | - $view->noOrder = true; |
|
148 | - } |
|
147 | + $view->noOrder = true; |
|
148 | + } |
|
149 | 149 | |
150 | - return parent::data($view, $tags, $expire); |
|
150 | + return parent::data($view, $tags, $expire); |
|
151 | 151 | } |
152 | 152 | |
153 | 153 |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | if( $context->session()->get( 'aimeos/basket/list' ) !== null && ( $orderid = $session->get( 'aimeos/orderid' ) ) === null ) { |
73 | 73 | throw new \Aimeos\Client\Html\Exception( 'No order ID available' ); |
74 | - } else if ($orderid !== null) { |
|
74 | + } else if( $orderid !== null ) { |
|
75 | 75 | |
76 | 76 | $ref = $config->get( 'mshop/order/manager/subdomains', [] ); |
77 | 77 | $ref = $config->get( 'client/html/checkout/confirm/domains', $ref ); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | |
121 | 121 | if( $context->session()->get( 'aimeos/basket/list' ) !== null && ( $id = $context->session()->get( 'aimeos/orderid' ) ) === null ) { |
122 | 122 | throw new \Aimeos\Client\Html\Exception( $context->translate( 'client', 'No order ID available in session' ) ); |
123 | - } else if ($id !== null) { |
|
123 | + } else if( $id !== null ) { |
|
124 | 124 | |
125 | 125 | /** client/html/checkout/confirm/domains |
126 | 126 | * List of domains to fetch items related to the order |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $view->noOrder = true; |
148 | 148 | } |
149 | 149 | |
150 | - return parent::data($view, $tags, $expire); |
|
150 | + return parent::data( $view, $tags, $expire ); |
|
151 | 151 | } |
152 | 152 | |
153 | 153 |
@@ -83,8 +83,7 @@ |
||
83 | 83 | |
84 | 84 | $serviceCntl = \Aimeos\Controller\Frontend::create( $context, 'service' ); |
85 | 85 | $orderItem = $serviceCntl->config( ['payment.url-self' => $url] )->updateSync( $view->request(), $code, $orderid ); |
86 | - } |
|
87 | - else |
|
86 | + } else |
|
88 | 87 | { |
89 | 88 | $orderItem = $orderCntl->get( $orderid, false ); |
90 | 89 | } |