Jump to content


Corporate Sponsors


Latest News: (loading..)

berthz

Member Since 28 Feb 2007
Offline Last Active Jan 16 2012, 13:07
-----

Posts I've Made

In Topic: Complex sql statement for product filter!?

25 November 2011, 13:45

Hi Phil,

I managed to do a workaround using a modified version of http://addons.oscommerce.com/info/5997 it did the sql statements correct already. I just added the manufacturers to it and added in on top of the product listing page rather than in a infobox.

In Topic: PDF Invoice on 2.3.1

22 September 2011, 21:25

If anyone wants to know. I had the same problem as described above (no details on invoice). Just open invoice_pdf.php

find:
$orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . 110 . "'");
$order = new order($oID);

change it into
while (list($key, $oID) = each($_GET)) {
if ($key != "oID")
  break;
   $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . $oID . "'");
   $order = new order($oID);

find:
// PDF's created now output the file
  // are we streaming for email attachment or outputting to browser?

change it into
// PDF's created now output the file
  // are we streaming for email attachment or outputting to browser?
}

Should do the trick. At least for me it did.