encoder(); $iface = 'MShop_Price_Item_Interface'; $prices = $this->get( 'prices', array() ); if( !is_array( $prices ) ) { $prices = array( $prices ); } $format = array( /// Price quantity format with quantity (%1$s) 'quantity' => $this->translate( 'client/html', 'from %1$s' ), /// Price format with price value (%1$s) and currency (%2$s) 'value' => $this->translate( 'client/html', '%1$s %2$s' ), /// Price shipping format with shipping / payment cost value (%1$s) and currency (%2$s) 'costs' => $this->translate( 'client/html', '+ %1$s %2$s/item' ), /// Rebate format with rebate value (%1$s) and currency (%2$s) 'rebate' => $this->translate( 'client/html', '%1$s %2$s off' ), /// Rebate percent format with rebate percent value (%1$s) 'rebate%' => $this->translate( 'client/html', '-%1$s%%' ), /// Tax rate format with tax rate in percent (%1$s) 'taxrate' => $this->translate( 'client/html', 'Incl. %1$s%% VAT' ), ); ?> getCosts(); $rebate = $priceItem->getRebate(); $currency = $this->translate( 'client/html/currency', $priceItem->getCurrencyId() ); ?>