Codefehler
Bestellzusammenfassung Emailadresse nicht korrekt
ID: 241Status: behobenVersion: 2.4.03Report Date: 3. March 2019Product: Bigware Shop 2.4.02
Reporter
AssigneeFredK
Description

Auf der Bestellzusammenfassungs Seite main_bigware_7tpl..php taucht wieder statt der eMail das Wort „email“ auf.

Ein Gedanke zu „Bestellzusammenfassung Emailadresse nicht korrekt“

  1. Hier wird abweichend die Funktion go_form_of_address() direkt aufgerufen. Deshalb ist die Email nicht mit Bestandteil der Variable.

    Korrektur in der /content/main_bigware_7.tpl.php

    alt Zeile 114-115

    	$table_versandadresse.='              <tr>' . "\n";
    	$table_versandadresse.='                <td class="main">' . go_form_of_address($order->delivery['format_id'], $deliveryAddress, 1, ' ', '<br>') . '</td>' . "\n";
    

    neu

    	$table_versandadresse.='              <tr>' . "\n";
    
      $deliveryAddress = $order->delivery;
      $deliveryAddress['email'] = $order->attendee['email_address'];
    
    	$table_versandadresse.='                <td class="main">' . go_form_of_address($order->delivery['format_id'], $deliveryAddress, 1, ' ', '<br>') . '</td>' . "\n";
    

    und alt Zeile 302-303

    $table_rechnungsadresse.='              <tr>' . "\n";
    $table_rechnungsadresse.='                <td class="main">' . go_form_of_address($order->billing['format_id'], $billingAddress, 1, ' ', '<br>') . '</td>' . "\n";
    

    neu

    $table_rechnungsadresse.='              <tr>' . "\n";
    
    $billingAddress = $order->billing;
    $billingAddress['email'] = $order->attendee['email_address'];
    
    $table_rechnungsadresse.='                <td class="main">' . go_form_of_address($order->billing['format_id'], $billingAddress, 1, ' ', '<br>') . '</td>' . "\n";
    

Schreibe einen Kommentar