Bestellbesätigung ist leer

Anpassung an PHTML-Dateien, CSS, Javascript und HTML

Moderator: maennchen1.de

Antworten
Amthor
Beiträge: 6
Registriert: 30.03.2020, 14:37
Lizenz: wpShopGermany Light

Bestellbesätigung ist leer

Beitrag von Amthor »

Hallo liebe Community,

ich habe leider das Problem das meine Email für den Kunden mit der aufgegeben Bestlellung nicht korekktet ankommt.

In der Email steht folgendes:

Titel: Bestellbesätigung
--------------------------------------------------------

Verwende Shop Software: wpShopGermany und einen link daran.

Hatte jemand ein solches Problem bereits?

Viele Grüße und bleibt Gesund
Benutzeravatar
maennchen1.de
Administrator
Beiträge: 17868
Registriert: 14.08.2003, 16:55
Lizenz: wpShopGermany Enterprise
Wohnort: Thüringen, Ellersleben
Kontaktdaten:

Re: Bestellbesätigung ist leer

Beitrag von maennchen1.de »

Hallo!
Könntest du bitte dein Problem genauer beschreiben?
Bitte lies dich hierzu auch in folgendes Thema ein: viewtopic.php?f=23&t=8912
Kein Support per PN! Alle Fragen beantworten wir hier im Forum. Per PN bitte nur Passwörter, Namen und URLs - sofern notwendig.
Bitte vor dem posten lesen:
Wie poste ich eine Frage zu einem Problem?
FAQ / häufig gestellte Fragen
Anzeige-Fehler / Funktionsfehler in wpShopGermany erkennen und selbst beheben
PHTML-Dateien richtig verwenden (für eigene Anpassungen)
Amthor
Beiträge: 6
Registriert: 30.03.2020, 14:37
Lizenz: wpShopGermany Light

Re: Bestellbesätigung ist leer

Beitrag von Amthor »

Hi!

Sobald ich eine bestellung aufgeben möchte kommt folgendes:
___________________________________________________________________________
Hallo Administrator,

Eine neue Bestellung ist im Online-Shop eingegangen!
Parse error: syntax error, unexpected '?' in /vhosts/pm1092wp/html/wp-content/plugins/wpshopgermany-free/views/mailtemplates/html/customer.phtml on line 16

Es gab einen kritischen Fehler auf deiner Website.

Erfahre mehr über die Fehlerbehebung in WordPress.
_________________________________________________________________________________________


Das problem mit den Email besteht weiterhin. Sobald ein Kunde bestellt geht zwar die Email raus... Die Email ist leer, rein ein Text mit dem "Verwende Shop System: wpShowGermany ist weiter unten zu lesen..

Viele Grüße
Amthor
Beiträge: 6
Registriert: 30.03.2020, 14:37
Lizenz: wpShopGermany Light

Re: Bestellbesätigung ist leer

Beitrag von Amthor »

Um diese Datei handelt es sich:

Code: Alles auswählen

<?php if ($this->hasMod('wpsg_mod_shippingadress') && $this->callMod('wpsg_mod_shippingadress', 'check_different_shippingadress', array('k_id' => $this->view['basket']['checkout']['k_id'], 'o_id' => $this->view['o_id']))) { ?>
<h2><?php echo __('Rechnungsadresse:', 'wpsg'); ?></h2> 

<table class="contenttable">
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['vname'].' '.$this->view['basket']['checkout']['name']); ?></td>		
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(_($this->view['basket']['checkout']['nr']??''))); ?></td>	
	</tr>
	<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
	</tr>
	<?php } ?>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['plz'].' '.$this->view['basket']['checkout']['ort']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?>"><?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?></a></td>
	</tr>	
</table>

<h2><?php echo __('Lieferadresse', 'wpsg'); ?>:</h2>

<table class="contenttable">
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname'].' '.$this->view['basket']['checkout']['shipping_name']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz'].' '.$this->view['basket']['checkout']['shipping_ort']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?></td>
	</tr>
</table>
<?php } else { ?>

<h2><?php echo __('Rechnungs-/Lieferadresse', 'wpsg'); ?>:</h2>

<table class="contenttable">
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['vname'].' '.$this->view['basket']['checkout']['name']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(($this->view['basket']['checkout']['nr']))); ?></td>
	</tr>
	<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
	</tr>
	<?php } ?>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['plz'].' '.$this->view['basket']['checkout']['ort']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?>"><?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?></a></td>
	</tr>
</table>

<?php } ?>
 
<h2><?php echo __('Bestelldaten', 'wpsg'); ?>:</h2>
 
<table class="contenttable">
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Kundennummer', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['knr']; ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestellnummer', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['onr']; ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestelldatum', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo date("d.m.Y H:i:s", $this->view['basket']['checkout']['datum']); ?></td>
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Rechnungsbetrag', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><strong><?php echo wpsg_ff($this->view['basket']['arCalculation']['sum']['topay_brutto'], $this->get_option('wpsg_currency')); ?></strong></td>
	</tr>
	<?php if ($this->get_option('wpsg_kleinunternehmer') != '1') { ?>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Steueranteil', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_ff($this->view['basket']['sum']['mwst'], $this->get_option('wpsg_currency')); ?></td>
	</tr>
	<?php } ?>
</table>

<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
<table class="contenttable">
	<tr>
		<td style="padding:8px 2px 8px 2px; line-height:100%; vertical-align:middle;">
			<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
		</td>
	</tr>
</table>
<?php } ?>

<h2><?php echo __('Versand- und Lieferart', 'wpsg'); ?>:</h2>

<table class="contenttable">
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Versandart', 'wpsg'); ?>:</td>
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
			<?php echo wpsg_hspc($this->arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?>
			<?php $this->callMods('mail_shipping'); ?> 
		</td>		
	</tr>
	<tr>
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Zahlungsart', 'wpsg'); ?>:
<br />		

<?php
	
	require_once WPSG_PATH_LIB.'phpgirocode.class.php';
	
	if (isset($this->view['mod_prepayment']['subject'])) {
			
		if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
		
			echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE));

		}
		
	}
	
?>
		
		
		</td>
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
			<?php echo wpsg_hspc($this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?><br />
			<?php $this->callMods('mail_payment'); ?>
		</td>				
	</tr>
</table>
Benutzeravatar
maennchen1.de
Administrator
Beiträge: 17868
Registriert: 14.08.2003, 16:55
Lizenz: wpShopGermany Enterprise
Wohnort: Thüringen, Ellersleben
Kontaktdaten:

Re: Bestellbesätigung ist leer

Beitrag von maennchen1.de »

Mir fehlen noch die jeweiligen Versionsnummern, wie oben verlinkt. Könntest du das bitte noch nachholen?
Hast du das schon probiert? viewtopic.php?f=24&t=8934
Kein Support per PN! Alle Fragen beantworten wir hier im Forum. Per PN bitte nur Passwörter, Namen und URLs - sofern notwendig.
Bitte vor dem posten lesen:
Wie poste ich eine Frage zu einem Problem?
FAQ / häufig gestellte Fragen
Anzeige-Fehler / Funktionsfehler in wpShopGermany erkennen und selbst beheben
PHTML-Dateien richtig verwenden (für eigene Anpassungen)
Amthor
Beiträge: 6
Registriert: 30.03.2020, 14:37
Lizenz: wpShopGermany Light

Re: Bestellbesätigung ist leer

Beitrag von Amthor »

//Erledigt DANKE
Karl Herre
Beiträge: 1013
Registriert: 30.09.2019, 13:09
Lizenz: wpShopGermany Enterprise

Re: Bestellbesätigung ist leer

Beitrag von Karl Herre »

Hi,

freut uns das wir dir helfen konnten ;) Woran hat es denn genau gelegen?

Gruß Karl
Antworten