encoder(); $basketTarget = $this->config( 'client/html/basket/standard/url/target' ); $basketController = $this->config( 'client/html/basket/standard/url/controller', 'basket' ); $basketAction = $this->config( 'client/html/basket/standard/url/action', 'index' ); $basketConfig = $this->config( 'client/html/basket/standard/url/config', array() ); $detailTarget = $this->config( 'client/html/catalog/detail/url/target' ); $detailController = $this->config( 'client/html/catalog/detail/url/controller', 'catalog' ); $detailAction = $this->config( 'client/html/catalog/detail/url/action', 'detail' ); $detailConfig = $this->config( 'client/html/catalog/detail/url/config', array( 'absoluteUri' => 1 ) ); /** client/html/common/summary/detail/product/attribute/types * List of attribute type codes that should be displayed in the basket along with their product * * The products in the basket can store attributes that exactly define an ordered * product or which are important for the back office. By default, the product * variant attributes are always displayed and the configurable product attributes * are displayed separately. * * Additional attributes for each ordered product can be added by basket plugins. * Depending on the attribute types and if they should be shown to the customers, * you need to extend the list of displayed attribute types ab adding their codes * to the configurable list. * * @param array List of attribute type codes * @category Developer * @since 2014.09 */ $attrTypes = $this->config( 'client/html/common/summary/detail/product/attribute/types', array( 'variant' ) ); if( isset( $this->summaryBasket ) ) { $price = $this->summaryBasket->getPrice(); $priceValue = $price->getValue(); $priceService = $price->getCosts(); $priceRebate = $price->getRebate(); $priceCurrency = $this->translate( 'client/html/currency', $price->getCurrencyId() ); } else { $priceValue = '0.00'; $priceService = '0.00'; $priceRebate = '0.00'; $priceCurrency = ''; } try { $deliveryItem = $this->summaryBasket->getService( 'delivery' ); $deliveryName = $deliveryItem->getName(); $deliveryPriceItem = $deliveryItem->getPrice(); $deliveryPriceService = $deliveryPriceItem->getCosts(); $deliveryPriceValue = $deliveryPriceItem->getValue(); } catch( Exception $e ) { $deliveryName = ''; $deliveryPriceValue = '0.00'; $deliveryPriceService = '0.00'; } try { $paymentItem = $this->summaryBasket->getService( 'payment' ); $paymentName = $paymentItem->getName(); $paymentPriceItem = $paymentItem->getPrice(); $paymentPriceService = $paymentPriceItem->getCosts(); $paymentPriceValue = $paymentPriceItem->getValue(); } catch( Exception $e ) { $paymentName = ''; $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' ); $unhide = $this->get( 'summaryShowHiddenAttributes', false ); $modify = $this->get( 'summaryEnableModify', false ); $errors = $this->get( 'summaryErrorCodes', array() ); $backParams = $this->get( 'summaryParams', array() ); ?>
summaryUrlBasket ) ) : ?> html( $this->translate( 'client/html', 'Change' ), $enc::TRUST ); ?>

html( $this->translate( 'client/html', 'Details' ), $enc::TRUST ); ?>

summaryBasket ) ) : ?> summaryBasket->getProducts() as $position => $product ) : $totalQuantity += $product->getQuantity(); ?> getPrice()->getValue(); ?> getFlags() & MShop_Order_Item_Base_Product_Abstract::FLAG_IMMUTABLE ) == 0 ) : ?> 0 ) : ?> 0 ) : ?> 0 ) : ?> get( 'summaryTaxRates', array() ) as $taxRate => $priceValue ) : ?> '0.00' && $priceValue > '0.00' ) : ?> '0.00' ) : ?>
html( $this->translate( 'client/html', 'Quantity' ), $enc::TRUST ); ?> html( $this->translate( 'client/html', 'Price' ), $enc::TRUST ); ?> html( $this->translate( 'client/html', 'Sum' ), $enc::TRUST ); ?>
getMediaUrl() ) != '' ) : ?> $product->getProductId(), 'd_name' => $product->getName( 'url' ) ); ?> html( $product->getName(), $enc::TRUST ); ?>
    getAttributes( $attrType ) as $attribute ) : ?>
  • html( $this->translate( 'client/html/code', $attribute->getCode() ) ); ?> html( ( $attribute->getName() != '' ? $attribute->getName() : $attribute->getValue() ) ); ?>
getAttributes( 'config' ) ) !== array() ) : ?> getAttributes( 'custom' ) ) !== array() ) : ?>
  • html( $this->translate( 'client/html/code', $attribute->getCode() ) ); ?> html( $attribute->getValue() ); ?>
getAttributes( 'hidden' ) ) !== array() ) : ?>
getFlags() & MShop_Order_Item_Base_Product_Abstract::FLAG_IMMUTABLE ) == 0 ) : ?> getQuantity() > 1 ) : ?>   + html( $product->getQuantity() ); ?> html( sprintf( $priceFormat, $this->number( $prodPrice ), $priceCurrency ) ); ?> html( sprintf( $priceFormat, $this->number( $prodPrice * $product->getQuantity() ), $priceCurrency ) ); ?> translate( 'client/html', 'X' ); ?>
summaryUrlServiceDelivery ) ) : ?> html( $deliveryName ); ?> html( $deliveryName ); ?> 1 html( sprintf( $priceFormat, $this->number( $deliveryPriceValue ), $priceCurrency ) ); ?> html( sprintf( $priceFormat, $this->number( $deliveryPriceValue ), $priceCurrency ) ); ?>
summaryUrlServicePayment ) ) : ?> html( $paymentName ); ?> html( $paymentName ); ?> 1 html( sprintf( $priceFormat, $this->number( $paymentPriceValue ), $priceCurrency ) ); ?> html( sprintf( $priceFormat, $this->number( $paymentPriceValue ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Sub-total' ) ); ?> html( sprintf( $priceFormat, $this->number( $priceValue ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Shipping' ) ); ?> html( sprintf( $priceFormat, $this->number( $priceService - $paymentPriceService ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Payment costs' ) ); ?> html( sprintf( $priceFormat, $this->number( $paymentPriceService ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Total' ) ); ?> html( sprintf( $priceFormat, $this->number( $priceValue + $priceService ), $priceCurrency ) ); ?>
html( sprintf( $this->translate( 'client/html', 'Incl. %1$s%% VAT' ), $this->number( $taxRate ) ) ); ?> html( sprintf( $priceFormat, $this->number( $priceValue / ( $taxRate + 100 ) * $taxRate ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Included rebates' ) ); ?> html( sprintf( $priceFormat, $this->number( $priceRebate ), $priceCurrency ) ); ?>
html( $this->translate( 'client/html', 'Total quantity' ) ); ?> html( sprintf( $this->translate( 'client/html', '%1$d article', '%1$d articles', $totalQuantity ), $totalQuantity ) ); ?>
get( 'detailBody' ); ?>