ntcables Posted July 20, 2007 Share Posted July 20, 2007 This is the one I am using SEND HTML MAIL V2 (13 June 2007) Quote Link to comment Share on other sites More sharing options...
shetani Posted July 20, 2007 Share Posted July 20, 2007 This is the one I am using SEND HTML MAIL V2 (13 June 2007) Is the same one that i´m using. ok, i´m not using the paypal ipn, but that should not the reason for the logo issue. Does it happen when you send an email notification by admin or in general after checking out your cart ? Quote Link to comment Share on other sites More sharing options...
shetani Posted July 21, 2007 Share Posted July 21, 2007 Hi Chris, seems that you have to modify the paypal.ipn modules located in the /catalog/ext/modules/payment and /catalog/includes/modules/payment folders directly to work with HTML emails. Every file have their own email-notification code included Quote Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2007 Share Posted July 21, 2007 Make sense ;) You can take a look in the database table orders where normally the field payment_method should be filled with something coming from PWA. Therefore - if you are put in $order->info['payment_method'] instead of $payment_class->title in the checkout_process.php it should showing the content of table orders -> payment_method there. Please have a look in the database if there is any content written in by PWA in the field payment_method - if not, that may be the reason for Hi Frank It looks like my problem lies with the CCGV (Credit Class & Gift Voucher) contribution. Don't know what yet, but will plough on. Quote Link to comment Share on other sites More sharing options...
ntcables Posted July 22, 2007 Share Posted July 22, 2007 Hi Chris, seems that you have to modify the paypal.ipn modules located in the /catalog/ext/modules/payment and /catalog/includes/modules/payment folders directly to work with HTML emails. Every file have their own email-notification code included How would I do that, after looking at the paypalipn.php file I can't seem to find where I would have to change it. ntcables. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2007 Share Posted July 22, 2007 How would I do that, after looking at the paypalipn.php file I can't seem to find where I would have to change it. ntcables. I think it depends on the paypal ipn version you are using. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2007 Share Posted July 22, 2007 I can't get the email to be affected by the stylesheetmail.css. Everything else works fine... Anyone know why? Please help me... :huh: Quote Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2007 Share Posted July 22, 2007 I can't get the email to be affected by the stylesheetmail.css. Everything else works fine... Anyone know why? Please help me... :huh: Which email? One is not the others are. The one that is not is defined in the module files. Quote Link to comment Share on other sites More sharing options...
shetani Posted July 22, 2007 Share Posted July 22, 2007 I can't get the email to be affected by the stylesheetmail.css. Everything else works fine... Anyone know why? Please help me... :huh: Have you set your email configuration in admin config email options to use MIME HTML ? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2007 Share Posted July 22, 2007 Have you set your email configuration in admin config email options to use MIME HTML ? Yupp. Done everything the instructions said, and I'm getting html-format in the emails, just no effect from the css-file... :blink: Quote Link to comment Share on other sites More sharing options...
Elazar Posted July 22, 2007 Author Share Posted July 22, 2007 Hi, I installed that great contribution also some modification from the forum, and I have a little problem.. Could someone help me please?? :rolleyes: 1. When I switch to Hebrew I don't get the right text format in the email that send to the customer. It should be 'order number' xx, instead I get strange text.. Subject: EMAIL_TEXT_SUBJECT îñôø äæîðä: 50 2. also in the email that send to the customer I don't get the 'total' sum on each product row.. strange :-" Please help me to solve it.. Thanks for the attention.. :rolleyes: best regards, elazar Quote Link to comment Share on other sites More sharing options...
shetani Posted July 22, 2007 Share Posted July 22, 2007 (edited) Yupp.Done everything the instructions said, and I'm getting html-format in the emails, just no effect from the css-file... :blink: Happens sometimes for me while testing- try to clear your temporary internet files folder - that solved my issues ;) ...1. When I switch to Hebrew I don't get the right text format in the email that send to the customer. It should be 'order number' xx, instead I get strange text.. Subject: EMAIL_TEXT_SUBJECT îñôø äæîðä: 50 ... Have you modified the language files in the folder for hebrewish ?! Edited July 22, 2007 by shetani Quote Link to comment Share on other sites More sharing options...
cenzor Posted July 23, 2007 Share Posted July 23, 2007 Could anyone post a solution to display the products' image in the email? I know (thx to Untitled :rolleyes: ) that I need a product image field in table_order_products, then I need to call that in checkout_process.php. I've tried it several times but I couldn't write a proper code(I'm quite newbie to php & osC). Thx for any help. Quote Link to comment Share on other sites More sharing options...
Elazar Posted July 23, 2007 Author Share Posted July 23, 2007 Have you modified the language files in the folder for hebrewish ?! Thanks for your reply shetani ! I modified the language fils in the folder for hebrew as it says in the instalation.. but it didn't work for me. so I deleted the 'order no.' text from the email subject.. Now the most important issue that I need to solve is that I don't get the 'total' price for each product row. Hope you will help me to solve this problem. thanks a lot ! Best Regards, Elazar Quote Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2007 Share Posted July 23, 2007 Happens sometimes for me while testing- try to clear your temporary internet files folder - that solved my issues ;)Have you modified the language files in the folder for hebrewish ?! Tried that, but it had no effect. Any html-tags I add before the text in the language-files gives effect but it completly ignores the css-file. I've tried altering the href in the link to the stylesheet but nothing there either. :( Quote Link to comment Share on other sites More sharing options...
shetani Posted July 23, 2007 Share Posted July 23, 2007 (edited) Could anyone post a solution to display the products' image in the email?I know (thx to Untitled :rolleyes: ) that I need a product image field in table_order_products, then I need to call that in checkout_process.php. I've tried it several times but I couldn't write a proper code(I'm quite newbie to php & osC). Thx for any help. Open checkout_process.php and find //BEGIN SEND HTML MAIL// $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; $products_quantity .= nl2br($order->products[$i]['qty'] . "\n"); $products_name .= nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes ."\n"); if (!tep_not_null($order->products[$i]['model'])) { $products_model .= ''.EMAIL_NO_MODEL.'' ; } else $products_model .= nl2br($order->products[$i]['model'] . "\n"); $products_price .= nl2br($currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty']) . "\n"); } change it to //BEGIN SEND HTML MAIL// $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; $products_quantity .= nl2br($order->products[$i]['qty'] . "\n"); $products_name .= nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes ."\n"); if (!tep_not_null($order->products[$i]['model'])) { $products_model .= ''.EMAIL_NO_MODEL.'' ; } else $products_model .= nl2br($order->products[$i]['model'] . "\n"); $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'"); $orders_picture=tep_db_fetch_array($orders_picture_query); $products_images .= "<img src=".HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $orders_picture['products_image']." width='80px' border='0'><br>"; $products_price .= nl2br($currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty']) . "\n"); } open html_checkout_process in folder includes/modules/email and find (between line 36 and 54) $html_email_order .= " <td><table width=\"600\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=white>"; $html_email_order .= " <tr> "; $html_email_order .= " <td class=\"boxmail\" align=\"left\" width=\"300\">$VarArticles</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"left\" width=\"160\">$VarModele</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"center\" width=\"40\">$VarQte</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"right\" width=\"100\">$VarTotal</td>"; $html_email_order .= " </tr>"; $html_email_order .= " <tr> "; $html_email_order .= " <td width=\"300\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_name</td>"; $html_email_order .= " <td width=\"160\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_model</td>"; $html_email_order .= " <td width=\"40\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_quantity</td>"; $html_email_order .= " <td width=\"100\" valign=\"top\" align=\"right\" class=\"boxmailgris\">$products_price</td>"; $html_email_order .= " </tr>"; $html_email_order .= " <tr height=\"14\"> "; $html_email_order .= " <td height=\"14\" width=\"300\" valign=\"top\" align=\"left\" class=\"tableur\">$Vardetail</td>"; $html_email_order .= " <td colspan=\"3\" width=\"300\" valign=\"top\" align=\"right\" class=\"tableur\">$Vartaxe</td>"; $html_email_order .= " </tr>"; $html_email_order .= " </table></td>"; change it to (for example) $html_email_order .= " <td><table width=\"600\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=white>"; $html_email_order .= " <tr> "; $html_email_order .= " <td class=\"boxmail\" align=\"center\" width=\"80\">Image</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"left\" width=\"260\">$VarArticles</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"left\" width=\"140\">$VarModele</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"center\" width=\"40\">$VarQte</td>"; $html_email_order .= " <td class=\"boxmail\" align=\"right\" width=\"80\">$VarTotal</td>"; $html_email_order .= " </tr>"; $html_email_order .= " <tr> "; $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_images</td>"; $html_email_order .= " <td width=\"260\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_name</td>"; $html_email_order .= " <td width=\"140\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_model</td>"; $html_email_order .= " <td width=\"40\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_quantity</td>"; $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"right\" class=\"boxmailgris\">$products_price</td>"; $html_email_order .= " </tr>"; $html_email_order .= " <tr height=\"14\"> "; $html_email_order .= " <td height=\"14\" width=\"300\" valign=\"top\" align=\"left\" class=\"tableur\">$Vardetail</td>"; $html_email_order .= " <td colspan=\"4\" width=\"300\" valign=\"top\" align=\"right\" class=\"tableur\">$Vartaxe</td>"; $html_email_order .= " </tr>"; $html_email_order .= " </table></td>"; That should work Edited July 23, 2007 by shetani Quote Link to comment Share on other sites More sharing options...
cenzor Posted July 23, 2007 Share Posted July 23, 2007 (edited) The result is a blank page. Do you(or anyone around here) have some time to try it out yourself? Maybe it's my site that is bugging. Anyway, thanks for the help, I appreciate it very much! :thumbsup: Edited July 23, 2007 by cenzor Quote Link to comment Share on other sites More sharing options...
cenzor Posted July 23, 2007 Share Posted July 23, 2007 The result is a blank page. Do you(or anyone around here) have some time to try it out yourself? Maybe it's my site that is bugging.Anyway, thanks for the help, I appreciate it very much! :thumbsup: Well, maybe I was doing something wrong first time. Now it works like a charm. Thanks again :) In my opinion you should add this to the contrib, as a mini-addition. Quote Link to comment Share on other sites More sharing options...
shetani Posted July 23, 2007 Share Posted July 23, 2007 The result is a blank page. Do you(or anyone around here) have some time to try it out yourself? Maybe it's my site that is bugging.Anyway, thanks for the help, I appreciate it very much! :thumbsup: I´ve tested it with my own array-based mod also as with the original Send HTML Email - Revised - V2 code based on the mod from 13 of june 2007 which is described and everything worked fine. When does the white screen appears `?! PLease check your code again Following a sample of the original based code from 13.06.2007 and here from my own mod which is a little bit different Quote Link to comment Share on other sites More sharing options...
Elazar Posted July 23, 2007 Author Share Posted July 23, 2007 Thanks for your reply shetani ! I modified the language fils in the folder for hebrew as it says in the instalation.. but it didn't work for me. so I deleted the 'order no.' text from the email subject.. Now the most important issue that I need to solve is that I don't get the 'total' price for each product row. Hope you will help me to solve this problem. thanks a lot ! Best Regards, Elazar HI shetani ! Could you help me to solve it please? Regards, Elazar Quote Link to comment Share on other sites More sharing options...
shetani Posted July 23, 2007 Share Posted July 23, 2007 HI shetani ! Could you help me to solve it please? Regards, Elazar PLease check, if you are using the row_mod, the file html_checkout_process.php in the includes/modules/email folder for $gesamtpreis = $Bestellpos['GP']; and try changing it to $gesamtpreis = $Bestellpos['Price']; Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2007 Share Posted July 24, 2007 Hi Frank The install instuctions for sendmailrowmod_fixed have some minore errors: Line 137 has $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'"); should be $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'")); Line 170 has $modimage = $Orderpos['Image'] should be $modimage = $Orderpos['Image']; Line 172 has $html_email_order .= " <tr><td width=\"300\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modmodel</td>"; should be $html_email_order .= " <td width=\"300\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modmodel</td>"; That is all. Another fantastic mod done by you. Now if only I can get the other problems fixed. Quote Link to comment Share on other sites More sharing options...
Elazar Posted July 24, 2007 Author Share Posted July 24, 2007 Quote Link to comment Share on other sites More sharing options...
shetani Posted July 24, 2007 Share Posted July 24, 2007 (edited) Dear Elazar, where are the needed modifications in the checkout_process.php ?! You have to modify this file first before you can use it with HTML email. Is it possible that you don´t use the right checkout_process.php ?! Please change the section between //------insert customer choosen option eof ---- and // load the after_process function from the payment modules to //------insert customer choosen option eof ---- //------insert customer choosen option eof ---- //BEGIN SEND HTML MAIL// $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; $products_quantity .= nl2br($order->products[$i]['qty'] . "\n"); $products_name .= nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes ."\n"); if (!tep_not_null($order->products[$i]['model'])) { $products_model .= ''.EMAIL_NO_MODEL.'' ; } else{ $products_model .= nl2br($order->products[$i]['model'] . "\n"); }; $orderarray[$i] = array( "Model" => nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes . "\n" ), "Modelnr"=> nl2br($order->products[$i]['model'] . "\n"), "Qty" => nl2br($order->products[$i]['qty'] . "\n"), "Price" => nl2br($currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . "\n")); } for ($i=0; $i<sizeof($order_totals); $i++) { $Vartaxe .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $Varaddress .= tep_address_label($customer_id, $sendto, 0, '', "\n") ; } if (is_object($$payment)) { $Varmodepay .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $Varmodpay .= $payment_class->title . "\n"; if ($payment_class->email_footer) { $Varmodpay .= $payment_class->email_footer . "\n\n"; } } $Varlogo = ''.VARLOGO.'' ; $Vartable1 = ''.VARTABLE1.'' ; $Vartable2 = ''.VARTABLE2.'' ; $Vartext1 = ' <b>' . EMAIL_TEXT_DEAR . ' ' . $order->customer['firstname'] . ' ' . $order->customer['lastname'] .' </b><br>' . EMAIL_MESSAGE_GREETING ; $Vartext2 = ' ' . EMAIL_TEXT_ORDER_NUMBER . ' <STRONG> ' . $insert_id . '</STRONG><br>' . EMAIL_TEXT_DATE_ORDERED . ': <strong>' . strftime(DATE_FORMAT_LONG) . '</strong><br><a href="' . HTTP_SERVER . DIR_WS_CATALOG . 'account_history_info.php?order_id=' . $insert_id .'">' . EMAIL_TEXT_INVOICE_URL . '</a>' ; $Varmailfooter = ''.VARMAILFOOTER.'' ; $VarArticles= ''.EMAIL_TEXT_PRODUCTS_ARTICLES.'' ; $VarModele= ''.EMAIL_TEXT_PRODUCTS_MODELE.'' ; $VarQte= ''.EMAIL_TEXT_PRODUCTS_QTY .'' ; $VarTotal= ''.EMAIL_TEXT_TOTAL.'' ; $VarAddresship = ''.EMAIL_TEXT_DELIVERY_ADDRESS.'' ; $VarAddressbill = ''.EMAIL_TEXT_BILLING_ADDRESS.'' ; $Varmetodpaye = ''.EMAIL_TEXT_PAYMENT_METHOD.'' ; $Vardetail = ''.DETAIL .'' ; $Varhttp = ''.VARHTTP.''; $Varstyle = ''.VARSTYLE.''; $Varshipaddress =''.tep_address_label($customer_id, $sendto).''; $Varcommenttext =''.EMAIL_TEXT_COMMENT.''; if ($order->info['comments'])$Varcomment =''.tep_db_output($order->info['comments']).''; require(DIR_WS_MODULES . 'email/html_checkout_process.php'); $email_order = $html_email_order ; // lets start with the email confirmation if (EMAIL_USE_HTML == 'true') { $email_order; } else { $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { + $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i=0; $i<sizeof($order_totals); $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n"; if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n\n\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } $email_order .= "\n" . EMAIL_TEXT_FOOTER . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n" . EMAIL_TEXT_FOOTERR . "\n" ; } tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, ''); $email_order=ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a href=\"\\">\</a>", $email_order); // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $email_order = $html_email_order ; if (EMAIL_USE_HTML == 'true') { $email_order; } else { $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { + $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i=0; $i<sizeof($order_totals); $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n"; if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n\n\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } $email_order .= "\n" . EMAIL_TEXT_FOOTER . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n" . EMAIL_TEXT_FOOTERR . "\n" ; } tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, ''); $email_order=ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a href=\"\\">\</a>", $email_order); } //END SEND HTML MAIL// // load the after_process function from the payment modules Edited July 24, 2007 by shetani Quote Link to comment Share on other sites More sharing options...
shetani Posted July 24, 2007 Share Posted July 24, 2007 Hi Frank The install instuctions for sendmailrowmod_fixed have some minore errors: Line 137 has $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'"); should be $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'")); Line 170 has $modimage = $Orderpos['Image'] should be $modimage = $Orderpos['Image']; Line 172 has $html_email_order .= " <tr><td width=\"300\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modmodel</td>"; should be $html_email_order .= " <td width=\"300\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modmodel</td>"; That is all. Another fantastic mod done by you. Now if only I can get the other problems fixed. You are right coopco, but only with the missing ; and the <tr> tag - the db_query is correct as described in the txt file Thanks for checking. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.