extOrderBaseItem->getProducts(); } catch( Exception $e ) { $products = array(); } try { $price = $this->extOrderBaseItem->getPrice(); $priceValue = $price->getValue(); $priceService = $price->getCosts(); $priceRebate = $price->getRebate(); $priceCurrency = $this->translate( 'client/html/currency', $price->getCurrencyId() ); } catch( Exception $e ) { $priceValue = '0.00'; $priceService = '0.00'; $priceRebate = '0.00'; $priceCurrency = ''; } try { $deliveryPriceItem = $this->extOrderBaseItem->getService( 'delivery' )->getPrice(); $deliveryPriceService = $deliveryPriceItem->getCosts(); $deliveryPriceValue = $deliveryPriceItem->getValue(); } catch( Exception $e ) { $deliveryPriceValue = '0.00'; $deliveryPriceService = '0.00'; } try { $paymentPriceItem = $this->extOrderBaseItem->getService( 'payment' )->getPrice(); $paymentPriceService = $paymentPriceItem->getCosts(); $paymentPriceValue = $paymentPriceItem->getValue(); } catch( Exception $e ) { $paymentPriceValue = '0.00'; $paymentPriceService = '0.00'; } /// Price format with price value (%1$s) and currency (%2$s) $priceFormat = $this->translate( 'client/html', '%1$s %2$s' ); ?> translate( 'client/html', 'Order details' ) ); ?>: getPrice(); ?> getName() ); ?> getAttributes() as $attribute ) : ?> getType() ) : case 'hidden': ?> - translate( 'client/html/code', $attribute->getCode() ) ); ?>: getName() != '' ? $attribute->getName() : $attribute->getValue() ) ); ?> translate( 'client/html', 'Quantity' ) ); ?>: getQuantity(); ?> translate( 'client/html', 'Price' ) ); ?>: number( $price->getValue() ), $priceCurrency ); ?> translate( 'client/html', 'Sum' ) ); ?>: number( $price->getValue() * $product->getQuantity() ), $priceCurrency ); ?> 0 ) : ?> translate( 'client/html', 'Service fees' ) ); ?>: number( $serviceValue ), $priceCurrency ); ?> 0 ) : ?> translate( 'client/html', 'Sub-total' ) ); ?>: number( $priceValue ), $priceCurrency ); ?> translate( 'client/html', '+ Shipping' ) ); ?>: number( $priceService - $paymentPriceService ), $priceCurrency ); ?> translate( 'client/html', '+ Payment costs' ) ); ?>: number( $paymentPriceService ), $priceCurrency ); ?> translate( 'client/html', 'Total' ) ); ?>: number( $priceValue + $priceService ), $priceCurrency ); ?> translate( 'client/html', 'Included rebates' ) ); ?>: number( $priceRebate ), $priceCurrency ); ?> translate( 'client/html', 'Sub-total' ) ); ?>: number( $priceValue ), $priceCurrency ); ?> translate( 'client/html', '+ Shipping' ) ); ?>: number( $priceService - $paymentPriceService ), $priceCurrency ); ?> translate( 'client/html', 'Total' ) ); ?>: number( $priceValue + $priceService ), $priceCurrency ); ?> get( 'commonTaxRates', array() ) as $taxRate => $priceValue ) : ?> translate( 'client/html', 'Incl. %1$s%% VAT' ), $this->number( $taxRate ) ) ); ?>: number( $priceValue / ( $taxRate + 100 ) * $taxRate ), $priceCurrency ); ?> translate( 'client/html', 'Included rebates' ) ); ?>: number( $priceRebate ), $priceCurrency ); ?> get( 'detailBody' ); ?>