Ankündigung

Einklappen
Keine Ankündigung bisher.

checkout_confirmation Leerzeilen und Schriftgrad

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    checkout_confirmation Leerzeilen und Schriftgrad

    Ich habe da einige Änderungen bei den Abständen vorgenommen, um die Seite etwas übersichtlicher zu gestalten.

    h3 in h2, damit die Überschriften gleich groß sind

    tpl_checkout_confirmation_default.php
    Code:
    <?php/**
     * Page Template
     *
     * Loaded automatically by index.php?main_page=checkout_confirmation.<br />
     * Displays final checkout details, cart, payment and shipping info details.
     *
     * @package templateSystem
     * @copyright Copyright 2003-2014 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart-pro.at/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_checkout_confirmation_default.php 2013-10-06 19:57:16Z webchills $
     */
    ?>
    <div class="centerColumn" id="checkoutConfirmDefault">
    
    
    <h1 id="checkoutConfirmDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
    <div id="conditionslaststep"><?php echo TEXT_ZUSATZ_SCHRITT3; ?><br/><?php echo TEXT_CONDITIONS_ACCEPTED_IN_LAST_STEP; ?></div>
    
    
    <?php if ($messageStack->size('redemptions') > 0) echo $messageStack->output('redemptions'); ?>
    <?php if ($messageStack->size('checkout_confirmation') > 0) echo $messageStack->output('checkout_confirmation'); ?>
    <?php if ($messageStack->size('checkout') > 0) echo $messageStack->output('checkout'); ?>
    
    
    <div id="checkoutBillto" class="back">
    <br class="clearBoth" />
    <h2 id="checkoutConfirmDefaultBillingAddress"><?php echo HEADING_BILLING_ADDRESS; ?></h2>
    <?php if (!$flagDisablePaymentAddressChange) { ?>
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
    <?php } ?>
    
    
    <address><?php echo zen_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br />'); ?></address>
    
    
    <?php
      $class =& $_SESSION['payment'];
    ?>
    
    
    <h2 id="checkoutConfirmDefaultPayment"><?php echo HEADING_PAYMENT_METHOD; ?></h2> 
    <h4 id="checkoutConfirmDefaultPaymentTitle"><?php echo $GLOBALS[$class]->title; ?></h4>
    
    
    <?php
      if (is_array($payment_modules->modules)) {
        if ($confirmation = $payment_modules->confirmation()) {
    ?>
    <div class="important"><?php echo $confirmation['title']; ?></div>
    <?php
        }
    ?>
    <div class="important">
    <?php
          for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {
    ?>
    <div class="back"><?php echo $confirmation['fields'][$i]['title']; ?></div>
    <div ><?php echo $confirmation['fields'][$i]['field']; ?></div>
    <?php
         }
    ?>
          </div>
    <?php
      }
    ?>
    
    
    <br class="clearBoth" />
    </div>
    
    
    <?php
      if ($_SESSION['sendto'] != false) {
    ?>
    <div id="checkoutShipto" class="forward">
    <br class="clearBoth" />
    <h2 id="checkoutConfirmDefaultShippingAddress"><?php echo HEADING_DELIVERY_ADDRESS; ?></h2>
    <div class="buttonRow forward"><?php echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
    
    
    <address><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br />'); ?></address>
    
    
    <?php
        if ($order->info['shipping_method']) {
    ?>
    <h2 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h2>
    <h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4>
    
    
    <?php
        }
    ?>
    </div>
    <?php
      }
    ?>
    <br class="clearBoth" />
    <hr />
    <?php
    // always show comments
    //  if ($order->info['comments']) {
    ?>
    
    
    <h2 id="checkoutConfirmDefaultHeadingComments"><?php echo HEADING_ORDER_COMMENTS; ?></h2>
    <div class="buttonRow forward"><?php echo  '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
    <div><?php echo (empty($order->info['comments']) ? NO_COMMENTS_TEXT : nl2br(zen_output_string_protected($order->info['comments'])) . zen_draw_hidden_field('comments', $order->info['comments'])); ?></div>
    <br class="clearBoth" />
    <?php
    //  }
    ?>
    <hr />
    <div id="cartandsum">
    <h2 id="checkoutConfirmDefaultHeadingCart"><?php echo HEADING_PRODUCTS; ?></h2>
    
    
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
    <br class="clearBoth" />
    
    
    <?php  if ($flagAnyOutOfStock) { ?>
    <?php    if (STOCK_ALLOW_CHECKOUT == 'true') {  ?>
    <div class="messageStackError"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
    <?php    } else { ?>
    <div class="messageStackError"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
    <?php    } //endif STOCK_ALLOW_CHECKOUT ?>
    <?php  } //endif flagAnyOutOfStock ?>
    
    
    
    
          <table border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
            <tr class="cartTableHeading">
            <th scope="col" id="ccQuantityHeading" width="30"><?php echo TABLE_HEADING_QUANTITY; ?></th>
            <th scope="col" id="ccProductsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
            
            <th scope="col" id="ccProductsHeading"><?php echo TABLE_HEADING_PRODUCTIMAGE; ?></th>
            
    <?php
      // If there are tax groups, display the tax columns for price breakdown
      if (sizeof($order->info['tax_groups']) > 1) {
    ?>
              <th scope="col" id="ccTaxHeading"><?php echo HEADING_TAX; ?></th>
    <?php
      }
    ?>
    
    
     <th scope="col" id="ccSinglePriceHeading" width="60"><?php echo TABLE_HEADING_SINGLEPRICE; ?></th>
    
    
              <th scope="col" id="ccTotalHeading"><?php echo TABLE_HEADING_TOTAL; ?></th>
            </tr>
    <?php // now loop thru all products to display quantity and price ?>
    <?php for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { ?>
            <tr class="<?php echo $order->products[$i]['rowClass']; ?>">
              <td  class="cartQuantity"><?php echo $order->products[$i]['qty']; ?>&nbsp;x</td>
              <td class="cartProductDisplay"><?php echo $order->products[$i]['name']; ?>
                  
    
    
                  <br/><?php echo $order->products[$i]['merkmale']; ?>
           
    
    
              <?php  echo $stock_check[$i]; ?>
    
    
    <?php // if there are attributes, loop thru them and display one per line
        if (isset($order->products[$i]['attributes']) && sizeof($order->products[$i]['attributes']) > 0 ) {
        echo '<ul class="cartAttribsList">';
          for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
    ?>
          <li><?php echo $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])); ?></li>
    <?php
          } // end loop
          echo '</ul>';
        } // endif attribute-info
    ?>
            </td>
            
            <td class="cartProductImg">
    <?php echo zen_image(DIR_WS_IMAGES . $order->products[$i]['image'], $order->products[$i]['name'], IMAGE_SHOPPING_CART_WIDTH, IMAGE_SHOPPING_CART_HEIGHT);?>
     </td>
    
    
    
    
    <?php // display tax info if exists ?>
    <?php if (sizeof($order->info['tax_groups']) > 1)  { ?>
            <td class="cartTotalDisplay">
              <?php echo zen_display_tax_value($order->products[$i]['tax']); ?>%</td>
    <?php    }  // endif tax info display  ?>
            
            <td class="cartTotalDisplay">
              <?php echo $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], 1);?>
             
     </td>
    
    
            <td class="cartTotalDisplay" valign="top">
              <?php echo $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']);
              if ($order->products[$i]['onetime_charges'] != 0 ) echo '<br /> ' . $currencies->display_price($order->products[$i]['onetime_charges'], $order->products[$i]['tax'], 1);
    ?>
            </td>
          </tr>
    <?php  }  // end for loopthru all products ?>
          </table>
          <hr />
    
    
    <?php
      if (MODULE_ORDER_TOTAL_INSTALLED) {
        $order_totals = $order_total_modules->process();
    ?>
    <div id="orderTotals"><?php $order_total_modules->output(); ?></div>
    <?php
      }
    ?>
    
    
    <?php
      echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"');
    
    
      if (is_array($payment_modules->modules)) {
        echo $payment_modules->process_button();
      }
    ?>
    
    
    <?php
     // zollhinweis für nicht EU
            $dest_country = $order->delivery['country']['iso_code_2'];
            $dest_zone = 0;
            $error = false;
            $countries_table = EU_COUNTRIES_FOR_LAST_STEP; 
            $country_zones = split("[,]", $countries_table);
            if ((!in_array($dest_country, $country_zones))&& ($order->delivery['country']['id'] != '')) {
                $dest_zone = $i;
                echo TEXT_NON_EU_COUNTRIES;
            } else {
                // do nothing
            }
            ?>
    
    
    </div>
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div>
    </form>
    
    
    
    
    </div>
    /includes/languages/german/modules/payment/eustandardtransfer.php ( in Zeile 18 fehlte ein Leerzeichen in "<br/>") hinzu diese Änderungen.

    Code:
    <?php/**
     * @copyright Copyright 2003-2014 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart-pro.at/license/2_0.txt GNU Public License V2.0
     * @version $Id: eustandardtransfer.php 573 2013-09-11 17:36:14 webchills $
    */
    define('MODULE_PAYMENT_EUTRANSFER_TEXT_TITLE', 'Vorkasse/Banküberweisung');
    
    
    define('MODULE_PAYMENT_EUTRANSFER_TEXT_DESCRIPTION', 
    '<div class="eustandardtransferdescription"><br />Bitte verwenden Sie folgende Daten für die Überweisung des Gesamtbetrages:' .
    '<br /><br />Name der Bank:  ' . nl2br(MODULE_PAYMENT_EUTRANSFER_BANKNAM) .
    '<br />Kontoinhaber: ' . nl2br(MODULE_PAYMENT_EUTRANSFER_ACCNAM) . 
    '<br />Kontonummer:   ' . nl2br(MODULE_PAYMENT_EUTRANSFER_ACCNUM) . 
    '<br />Bankleitzahl:    ' . nl2br(MODULE_PAYMENT_EUTRANSFER_BLZ) .
    '<br />IBAN:    ' . nl2br(MODULE_PAYMENT_EUTRANSFER_ACCIBAN) .
    '<br />BIC/SWIFT:   ' . nl2br(MODULE_PAYMENT_EUTRANSFER_BANKBIC) .
    '<br /><br />Ihre Bestellung wird erst bearbeitet, wenn der Betrag auf unserem Konto eingegangen ist.</div>');
    
    
    define('MODULE_PAYMENT_EUTRANSFER_TEXT_EMAIL_FOOTER', 
    "Bitte verwenden Sie folgende Daten für die Überweisung des Gesamtbetrages:\n" .
    "\nName der Bank:  " . MODULE_PAYMENT_EUTRANSFER_BANKNAM .
    "\nKontoinhaber: " . MODULE_PAYMENT_EUTRANSFER_ACCNAM . 
    "\nKontonummer:   " . MODULE_PAYMENT_EUTRANSFER_ACCNUM . 
    "\nBankleitzahl:    " . MODULE_PAYMENT_EUTRANSFER_BLZ .
    "\nIBAN:    " . MODULE_PAYMENT_EUTRANSFER_ACCIBAN .
    "\nBIC/SWIFT:   " . MODULE_PAYMENT_EUTRANSFER_BANKBIC . 
    "\n\nIhre Bestellung wird erst bearbeitet, wenn der Betrag auf unserem Konto eingegangen ist.");
    Mit diesen nderungen sind die Texte von einander getrennt und nicht mehr von irgendwelchen Innen- und Außenabständen abhängig, die man eventuell entfernen/konfigurieren musste.

    Edit: Den Satz Ihre Bestellung.... habe ich auch geändert sobald in wenn
    Zuletzt geändert von amatoris; 02.05.2015, 18:12.
Info zu diesem Forenarchiv:
Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
Fehler in der Software können auf Github als Issues gemeldet werden.
Follow us
aktuelle version
Zen Cart 1.5.7g deutsch
vom 12.12.2023
[Download]
Lädt...
X