encoder(); try { $addrArray = $this->standardBasket->getAddress( MShop_Order_Item_Base_Address_Abstract::TYPE_PAYMENT )->toArray(); } catch( Exception $e ) { $addrArray = array(); } $billingOption = $this->param( 'ca-billing-option', ( $addrArray === array() && isset( $this->addressCustomerItem ) ? $this->addressCustomerItem->getId() : 'null' ) ); $billingSalutation = $this->param( 'ca-billing/order.base.address.salutation', ( isset( $addrArray['order.base.address.salutation'] ) ? $addrArray['order.base.address.salutation'] : '' ) ); $billingCountry = $this->param( 'ca-billing/order.base.address.countryid', ( isset( $addrArray['order.base.address.countryid'] ) ? $addrArray['order.base.address.countryid'] : '' ) ); $billingSalutations = $this->get( 'billingSalutations', array() ); $billingCountries = $this->get( 'addressCountries', array() ); $billingLanguage = $this->get( 'billingLanguage', '' ); $paymentCss = array(); foreach( $this->get( 'billingMandatory', array() ) as $name ) { $paymentCss[$name][] = 'mandatory'; } foreach( $this->get( 'billingOptional', array() ) as $name ) { $paymentCss[$name][] = 'optional'; } foreach( $this->get( 'billingHidden', array() ) as $name ) { $paymentCss[$name][] = 'hidden'; } foreach( $this->get( 'billingError', array() ) as $name => $msg ) { $paymentCss[$name][] = 'error'; } $allFields = array_keys( $paymentCss ); ?>

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

addressCustomerItem ) ) : ?>
addressCustomerItem->getId() ? 'checked="checked"' : '' ); ?> />
addressCustomerItem->getPaymentAddress(); echo preg_replace( "/\n+/m", "
", trim( $enc->html( sprintf( /// Address format with company (%1$s), salutation (%2$s), title (%3$s), first name (%4$s), last name (%5$s), /// address part one (%6$s, e.g street), address part two (%7$s, e.g house number), address part three (%8$s, e.g additional information), /// postal/zip code (%9$s), city (%10$s), state (%11$s), country (%12$s), language (%13$s), /// e-mail (%14$s), phone (%15$s), facsimile/telefax (%16$s), web site (%17$s) $this->translate( 'client/html', '%1$s %2$s %3$s %4$s %5$s %6$s %7$s %8$s %9$s %10$s %11$s %12$s %13$s %14$s %15$s %16$s %17$s ' ), $addr->getCompany(), ( !in_array( $addr->getSalutation(), array( 'company' ) ) ? $this->translate( 'client/html/code', $addr->getSalutation() ) : '' ), $addr->getTitle(), $addr->getFirstName(), $addr->getLastName(), $addr->getAddress1(), $addr->getAddress2(), $addr->getAddress3(), $addr->getPostal(), $addr->getCity(), $addr->getState(), $this->translate( 'client/html/country', $addr->getCountryId() ), $this->translate( 'client/html/language', $addr->getLanguageId() ), $addr->getEmail(), $addr->getTelephone(), $addr->getTelefax(), $addr->getWebsite() ) ) ) ); ?>
config( 'client/html/common/address/billing/disable-new', false ) === false ) : ?>
/>
html( $this->translate( 'client/html', 'new address' ), $enc::TRUST ); ?>
get( 'billingBody' ); ?>