I instaled 1.2 Qc and the send order to client plugin. The name and adress and total sum are ok, but the product details is messed up. Here is the problem:
------------------------ Below are products from Your order ------------------------ <tr> <td> <a href="?p=productsMore&iProduct=1">xgfdg</a><br /> </td> <td> 5454.00 </td> <td> <fieldset><input type="text" name="aElements[6]" value="1" maxlength="3" size="2" /></fieldset> </td> <td> 5454.00 </td> <td> <a href="?p=ordersDelivery&sOption=del&iElement=6">Ste rge</a> </td> </tr>
2peu - it seems that You have html code in sendOrderToClient.tpl
2peu
2006-04-05 14:41
Yes i know..but my sendOrderToClient.tpl it's ok :
<!-- BEGIN EMAIL_TITLE --> Thank You for order. Order id $iOrder <!-- END EMAIL_TITLE --> <!-- BEGIN EMAIL_HEAD --> ------------------------ Your delivery address ------------------------ First and last name: $_POST[sFirstName] $_POST[sLastName] Street: $_POST[sStreet] Postal code: $_POST[sZipCode] City: $_POST[sCity] Phone: $_POST[sTelephone]
------------------------ Below are products from Your order ------------------------ <!-- END EMAIL_HEAD -->
<!-- BEGIN LIST_HEAD --> <!-- END LIST_HEAD -->
<!-- BEGIN LIST_LIST --> - $aList[sProduct] (Quantity: $aList[iQuantity], Summary price: $aList[fSummary])<!-- END LIST_LIST -->
<!-- BEGIN LIST_FOOTER --> <!-- END LIST_FOOTER -->
<!-- BEGIN EMAIL_FOOTER -->
------------------------ Delivery and summary costs ------------------------ Courier: $aCourier[sName] (Price: $aCourier[fPrice])
edit then plugins/sendOrderToClient/actions_client.php and go to line ~19 where is listBasket. It should be: $sEmailContent .= trim( listBasket( $iOrder, 'sendOrderToClient.tpl' ) );