Jump to content
Latest News: (loading..)

imop

Members
  • Content count

    385
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by imop

  1. Try to replace your code with this: tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array);{ ($action == 'update_product') tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'"); } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } 1 - was your code line (wrong): 2 - is is how it should be (right): 1) tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . '"); 2) tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'");
  2. try this code, it must help: if ( tep_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) ) { if (sizeof($this->extensions) > 0) { if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this->extensions)) { if ($this->message_location == 'direct') { $messageStack->add(ERROR_FILETYPE_NOT_ALLOWED, 'error'); // BOF: Additional Images } elseif ($this->message_location == 'session') { // EOF: Additional Images $messageStack->add_session(ERROR_FILETYPE_NOT_ALLOWED, 'error'); } give us feedback if this is ok! ;)
  3. imop

    Fancier Invoice & Packingslip v1.0

    define('DIR_FS_ADMIN', '/home/content/a/s/p/XXXXXX/html/catalog/admin/'); // absolute path required change the path to your directory in here: cataloge/includes/local/configure.php ;)
  4. imop

    Fancier Invoice & Packingslip v1.0

    Actually the setting are ok! check your installation!
  5. imop

    Fancier Invoice & Packingslip v1.0

    1) The words: INVOICE_TEXT_INVOICE_NR 163 INVOICE_TEXT_INVOICE_DATE 06/17/2010 add this the code in catalog/admin/includes/languages/english/invoice.php: define('INVOICE_TEXT_INVOICE_NR', 'Number:'); define('INVOICE_TEXT_INVOICE_DATE', 'Invoice date: '); * is u need it also in packing slip add the same code to - catalog/admin/includes/languages/english/packingslip.php ** if u have other languages do the same to them copy/paste the code 2) About the email sending, yes it seems to be a small, but u can fix it: so open find this: catalog/includes/modules/email_invoice/email_invoice.php if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id); replace with this: if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $ei_message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id); * don`t forget to input the extra e-mail adress in Admin panel for extra e-mail to be sent!!! Hope it helps!
  6. imop

    Fancier Invoice & Packingslip v1.0

    This is shown in invoice sent to customer or in customers account "Print Invoice"?
  7. imop

    Fancier Invoice & Packingslip v1.0

    Actually i have my own design for the invoices, less images only the company logo, all other CSS, and my invoice is is heavy modified so it won`t work for u! But i suggest you to use less images eg. JPG , GIF, PNG etc. use CSS/HTML for your invoice design it means less problems and the invoice will look 99,99% the same in different e-mail clients (outlook, Thunderbird web - Gmail / Yahoo mail / etc.)
  8. imop

    Fancier Invoice & Packingslip v1.0

    Actually i use - box_invoice.php but i have modified it for my own needs so it wont be the same, but it dose not mater the code is the same! but here is my html_invoice.php original that works fine for me, just tested! <?php /* $Id: html_invoice.php,v 6.1 2005/06/05 00:37:30 PopTheTop Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class objectInfo { // class constructor function objectInfo($object_array) { reset($object_array); while (list($key, $value) = each($object_array)) { $this->$key = tep_db_prepare_input($value); } } } $order2 = new order($oID); ?> <html> <head> <title><?php echo STORE_NAME; ?><?php echo INVOICE_ORDER_CONFIRMATION; ?><?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo date("y"); ?><?php echo INVOICE_TEXT_DASH; ?><?php echo $oID; ?></title> <style type="text/css"> BODY { background: #ffffff; color: #000000; margin: 0px; } A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #ffffff; } TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .dataTableContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } .dataTableHeadingRow { background-color: #C9C9C9; } .dataTableHeadingContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; } .dataTableRow { background-color: #F0F1F1; } </style> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="left"><?php echo '<img src="' . INVOICE_IMAGE . '" border="0" alt="' . INVOICE_IMAGE_ALT_TEXT . '" width="' . INVOICE_IMAGE_WIDTH . '" height="' . INVOICE_IMAGE_HEIGHT . '" hspace="10">'; ?></td> <TD ALIGN="right" VALIGN="top" NOWRAP><FONT FACE="Verdana" SIZE="2" COLOR="#006699"><strong><?php echo INVOICE_ORDER_CONFIRMATION; ?> <?php echo INVOICE_TEXT_NUMBER_SIGN; ?> <?php echo date("y"); ?><?php echo INVOICE_TEXT_DASH; ?><?php echo $oID; ?><BR> <?php echo $date; ?></strong></font><br> <br> <span class="pageHeadingSM"><FONT FACE="Verdana" SIZE="1" COLOR="#006699"><strong><?php echo nl2br(STORE_NAME_ADDRESS); ?></strong></font></span></TD> </tr> <tr> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <TD><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="10%"><hr size="2"></td> <td align="center" class="pageHeading" NOWRAP><em><b><?php echo INVOICE_TEXT_INVOICE; ?></b></em></td> <td width="100%"><hr size="2"></td> </tr> </table></td> </tr> <tr> <td colspan="4"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="5" alt=""></td> </tr> <tr> <td width="3"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SHIP_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->delivery['format_id'], $order2->delivery, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> <td width="45"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif" width="24" height="16" alt=""></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SOLD_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->customer['format_id'], $order2->customer, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['telephone']; ?></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['email_address']; ?></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></TD> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="50%" NOWRAP> <b><?php echo INVOICE_TEXT_ORDER; ?> <?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo INVOICE_TEXT_COLON; ?></b> <?php echo tep_db_input($oID); ?></td> <?php if (tep_not_null($order2->info['cc_number'])) { $this->cc_card_number_less_middle_digits = substr($order2->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order2->info['cc_number']) - 8)) . substr($order2->info['cc_number'], -4); ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?> (<?php echo $order2->info['cc_type']; ?>)<br> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100%" height="6" alt=""><br> <b><?php echo ENTRY_PAYMENT_CC_NUMBER; ?></b> <?php echo $this->cc_card_number_less_middle_digits; ?></td> <?php } else { ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?></td> <?php } ?> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <TD COLSPAN="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order2->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order2->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order2->products[$i]['name']; if (isset($order2->products[$i]['attributes']) && (($k = sizeof($order2->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br><nobr><small> <i> - ' . $order2->products[$i]['attributes'][$j]['option'] . ': ' . $order2->products[$i]['attributes'][$j]['value']; if ($order2->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order2->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order2->products[$i]['attributes'][$j]['price'] * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order2->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order2->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order2->products[$i]['final_price'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order2->products[$i]['final_price'], $order2->products[$i]['tax']), true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order2->products[$i]['final_price'] * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order2->products[$i]['final_price'], $order2->products[$i]['tax']) * $order2->products[$i]['qty'], true, $order2->info['currency'], $order2->info['currency_value']) . '</b></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order2->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order2->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order2->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php $order2s_status_history_query = tep_db_query("select * from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . tep_db_input($oID) . "' order by date_added"); if (tep_db_num_rows($order2s_status_history_query)) { $has_comments = false; ?> <br> <br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="95%" NOWRAP> <b><?php echo TABLE_HEADING_COMMENTS; ?></b><br> <br></td> </tr> <?php while ($order2s_comments = tep_db_fetch_array($order2s_status_history_query)) { if (tep_not_null($order2s_comments['comments'])) { $has_comments = true; // Not Null = Has Comments if (tep_not_null($order2s_comments['comments'])) { $sInfo = new objectInfo($order2s_comments); ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_DATE_ADDED; ?></u></strong></td> <td align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_COMMENT_LEFT; ?></u></strong></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><?php echo tep_date_short($sInfo->date_added); ?></td> <td align="left" valign="top" class="smallText"><?php echo nl2br(tep_db_output($order2s_comments['comments'])); ?><br> <br></td> </tr> </table></td> </tr> </table></td> </tr> <?php } } } if ($has_comments == false) { ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="100%" align="left" valign="top" class="smallText"><?php echo INVOICE_TEXT_NO_COMMENT; ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table> <?php } ?> <br> <CENTER> <span class="smallText"><FONT FACE="Verdana" COLOR="#006699"><strong><?php echo INVOICE_TEXT_THANK_YOU; ?><BR> <?php echo STORE_NAME; ?><BR> <?php echo STORE_URL_ADDRESS; ?></strong></font></span> </CENTER> </body> </html>
  9. imop

    Fancier Invoice & Packingslip v1.0

    This code: <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> but this is the same as in admin or sending to client!
  10. imop

    Fancier Invoice & Packingslip v1.0

    Actually i don`t have any clue on that... If u made the installation correct it must work!
  11. imop

    Fancier Invoice & Packingslip v1.0

    The code seems to be ok! What version of OsC do u have installed?
  12. imop

    Fancier Invoice & Packingslip v1.0

    yellow! Did your client receives an email with HTML? If the answer is yes, u are almost there! As i understood the received e-mail / invoice dose not show shipping costs? Can u copy/paste the code of your - cataloge/includes/modules/email_invoice/templates/your_template.php So i can take a look!
  13. Greeting friends! 1) HeaderTags_SEO_V_3.2.2 2) Sort order by drop down menu for the product listing - LINK I got this problem: in cataloge/index.php when i open one of categories the SEO header tags are blank, but on all other pages they are working good! product listing is controlled from cataloge/includes/modules/product_listing.php Can someone help on this?
  14. If i did all right this might be a solution for you! here is a LINK for step by step instalation, i think i haven`t make any mistakes! ;) Cheers!
  15. imop

    PDF and UTF-8 charsets

    Stuid me! :P Got it solved, i did not have any arial fonts on my server, so i made them and then it all worked perfectly! p.s. for thous who are asking about the last command of making font - php -q makefont.php myfont.ttf myfont.ufm This is need to be executed from Telnet client such as Putty! just copy your files to the server and have fun! (This took a while for me to understand!) Cheers!
  16. I`m testing this contribution http://addons.oscommerce.com/info/5321, it`s for PDF invoices. If all will be good i`ll add it to my shop! But i came up with a problem for my language (Latvian - ē ū ī ā š ķ ļ etc.) special charters. So i have searched forum for answers, but got only questions and no good solution for it! This contribution is using FPDF as i understood it`s dose not support UTF-8, so i have made my research and find that UFPDF is the answer on my question, but the main problem is that as i`m not a programmer, but i understand how this works, can someone help me to solve this, how to replace FPDF with UPDF. Can someone give me a clue or point to right direction or best way supply with already fixed solution! Thanks!
  17. imop

    PDF and UTF-8 charsets

    I have found time for testing your theory, but i have an error when i try make an PDF this is the error: TCPDF ERROR: Could not include font definition file: arial But cant find any arial in new fpdf.php
  18. I was thinking about that, but can`t get it run property... otherwise i would not ask... and Yes i was thinking about that - "find this" "replace that"
  19. Seems to be nice contribution, something is not working at all, something is buggy... but I was wondering: If there is any normal installation instruction for this contribution? Like step by step? THX!
  20. imop

    Fancier Invoice & Packingslip v1.0

    OPEN THIS FILE: cataloge/admin/invoice.php ad make changes for shipment: after this: <tr> <td align="left" valign="top"><b><?php echo ENTRY_SHIP_TO; ?></b></td> </tr> add this: <tr> <td> <?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br> '); ?></td> </tr> for invoice adress: aftres this: <tr> <td align="left" valign="top"><b><?php echo ENTRY_SOLD_TO; ?></b></td> </tr> add this: <tr> <td> <?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br> '); ?></td> </tr> and this (for phone and e-mail) <tr> <td> <?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td> <?php echo $order->customer['email_address']; ?></td> </tr> and for tax and sku comment out this lines find this: <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> change to this: <td class="dataTableHeadingContent"><?php // echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php // echo TABLE_HEADING_TAX; ?></td> and find this: this is for sku or model <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; and change to this: <td class="dataTableContent" valign="top"></td>' . "\n"; and find this: this is for tax <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . change to this: <td class="dataTableContent" align="right" valign="top"></td>' . "\n" . ok this should to this!
  21. imop

    Fancier Invoice & Packingslip v1.0

    Greetings! Is this invoice what is send to customer or this is printed at admin panel or customer prints it at users account invoice?
  22. imop

    Fancier Invoice & Packingslip v1.0

    Do u really need a image of product in your invoice?
  23. imop

    PDF and UTF-8 charsets

    This is really fantastic!! Can send me thous fonts u used - Verdana?
  24. imop

    Fancier invoice

    you know all the files are correct, i have put them in my shop and it worked for me! where exactly u don`t get the product printed? maybe some screen shot?
×