Author Topic: $ps_order.list_order  (Read 3053 times)

knax

  • Beginner
  • *
  • Posts: 1
$ps_order.list_order
« on: June 16, 2009, 16:09:13 pm »
Hi , i need to show the orders for the current customer, i created a module wich call the ps_order.list_order method.

If the current page for web site is not a virtue mart page , the query for the order list returns 2 entries for the client but no rows are shown in the module (the db->next_record() method returns false but the cout of items in db is two).

If i switch to a virtue mart page (ie. Product List) then the db->next_record() method return true and the two orders for the actual client are shown.

Any idea why ?

Thanks,