also ich war grade an diesem Punkt hier:
"3. /checkout_confirmation.php
suche das hier ca Zeile 200
if (ACTIVATE_SHIPPING_STATUS == 'true') {
davor einfügen:
$data_products .= '<tr>
<td class="main" align="left" valign="top"> </td>
<td class="main" align="left" valign="top"><small>' . (!empty($order->products[$i]['short_description'])?$order->products[$i]['short_description']:$order->products[$i]['description']). '</small></td>
<td class="main" align="right" valign="top"> </td>
<td class="main" align="right" valign="top"> </td>
</tr>';
Alternativ, wenn man das ganze ein wenig vom HTML Code "entschlacken" will und bei der Langbeschreibung maximal 300 Zeichen anzeigen will:
$data_products .= '<tr>
<td class="main" align="left" valign="top"> </td>
<td class="main" align="left" valign="top"><small>' . (!empty($order->products[$i]['short_description'])?trim(strip_tags($order->products[$i]['short_description'])):trim(substr(strip_tags($order->products[$i]['description']),0,300))). ' [...]' . '</small></td>
<td class="main" align="right" valign="top"> </td>
<td class="main" align="right" valign="top"> </td>
</tr>';
Damit wird nun schon mal die Kurzbeschreibung angezeigt. Sollte keine vorhanden sein, wird die normale Beschreibung angezeigt.
Anmerkung eines Laien:
Der Gesetzgebers will vermutlich erreichen, dass der Zusammenhang zwischen Artikelbeschreibung und der Aktion "Kaufen" für den Käufer unmissverständlich dargestellt wird. Ein zweiter Kaufen-Button bewirkt jedoch das Gegenteil. Es könnte daher besser sein, statt eines zweiten Buttons die Artikelbeschreibung so weit nach unten zu verschieben, dass sie sich unmittelbar über dem bereits vorhandenen Kaufen-Button befindet. "
also habe ich einfach dieses "if" gesucht und davor eingefügt.
Irgendwie bin ich jetzt grade auch total verwirrt
Vor ne Woche noch hatte ich nichts mit HTML zu tun und jetzt soll ich gleich auf die Buttonlösung umprogrammieren ^^