Hallo, ich habe mehr oder weniger genau das gleiche Problem
Ich hab so gut wie keine html Kenntnisse und bringe mir grade recht viel selbst bei. Nun muss ich ein Shop zur Buttonlöung anpassen und habe bereits die Buttons ausgetauscht und dieses MausTool geändert.
Habe das
$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>';
auch eingefügt und hochgeladen, bekomme aber keine Kurzbeschreibung zu sehen.
Bei mir steht jetzt (Auschnitt) dies hier:
//BOF - 2009-06-05 - replace table with div
//$data_products = '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
$data_products = '';
//EOF - 2009-06-05 - replace table with div
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
//BOF - 2009-06-05 - replace table with div
//$data_products .= '<tr>' . "\n" . ' <td class="main" align="left" valign="top">' . $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . '</td>' . "\n" . ' <td class="main" align="right" valign="top">' . $xtPrice->xtcFormat($order->products[$i]['final_price'], true) . '</td></tr>' . "\n";
$data_products .= '<tr>
<td class="main" align="left" valign="top"> </td>
<td class="main" align="left" valign="top"><small>';
if (!empty($order->products[$i]['short_description'])) {
$data_products .=trim(strip_tags($order->products[$i]['short_description']));
} else {
$data_products .=trim(substr(strip_tags($order->products[$i]['description']),0,300));
if (strlen(strip_tags($order->products[$i]['description'])) > 300) $data_products.=' [...]';
}
$data_products .='</small></td>
<td class="main" align="right" valign="top"> </td>
<td class="main" align="right" valign="top"> </td>
</tr>';
if (ACTIVATE_SHIPPING_STATUS == 'true') {
//BOF - 2009-06-05 - replace table with div
*/
vllt kann mir jemand helfen?
das wäre echt lieb