Zen Cart Logo
Forums / Managing Customers and Orders / Missing order details.

Missing order details.

Locked

Views: 2,168

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Jul 2009, 2:35 PM
#1
ncgrimbo avatar

ncgrimbo

New Zenner

Join Date:
May 2009
Posts:
8
Plugin Contributions:
0

Missing order details.

Hi all. I've just got my first store up and running and everything seems to be working and orders get placed and paypal charges the user. The problem is that when I look at the orders page and then double click on an order, I don't get any details on what was ordered. I get the header in the report and then a line where the orders should be that shows "Products Models price" etc. The below that, where I would expect to see the products purchased, there is nothing but the discount and then then total cost of the order. I tried to search the forum but I counldn't find any help.

Can someone point me in the right direction? Here's what it looks like:

13 Jul 2009, 4:11 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing order details.

Could you look at your database tables in phpMyAdmin and see what you have for:
orders
orders_products

In the orders table, you should see 1 record for each order ...

In the orders_products table, you should see 1 record for each Product in the Order ...

13 Jul 2009, 4:46 PM
#3
ncgrimbo avatar

ncgrimbo

New Zenner

Join Date:
May 2009
Posts:
8
Plugin Contributions:
0

Re: Missing order details.

I have 1 record in the orders table. It has the data for the order that was placed. There are no records in the orders_products table. I'm assuming that's why I get no details. Before the order was placed, there were 3 test orders in the system. I deleted the 3 test orders after the first real order was placed. I wonder if there's a bug that may have deleted all the data from orders_products. I'm going to put another test record in the system and see if I can recreate the problem. Looks like I will need to manually add the items that were ordered to the order to make it correct.

13 Jul 2009, 4:57 PM
#4
ncgrimbo avatar

ncgrimbo

New Zenner

Join Date:
May 2009
Posts:
8
Plugin Contributions:
0

Re: Missing order details.

Update: I just added two new orders and both show the products in the invoices and there are records in the orders_products table for the orders. I deleted one order and the other one was OK. The only difference was between the test orders and the real order is that the real order used paypal to make the payment and I've been using "Check/Money Order" for the test orders. Would that make a difference?

13 Jul 2009, 8:12 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing order details.

It is an odd one, but as you cannot reproduce the problem it is difficult to say what might have caused the problem originally ...

You might try making a few test orders just to be sure it doesn't happen again ...

17 Jul 2009, 2:28 PM
#6
ncgrimbo avatar

ncgrimbo

New Zenner

Join Date:
May 2009
Posts:
8
Plugin Contributions:
0

Re: Missing order details.

I was able to reproduce this problem and I found the answer. I was leaving off the PDT Token on the PayPal IPN configuration screen in the admin section of ZenCart. I must have missed that it is required when reading the information about IPN on the forums.

But that raised another error, "1292 Incorrect datetime value". I searched the forums and found the answer to that fix on this post of this thread: http://www.zen-cart.com/forum/showpost.php?p=484125&postcount=3. I needed to add the code for the "datetime_to_sqlformat" function, but once I did that, it worked.

Thanks for the help guys and girls!

17 Jul 2009, 2:36 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing order details.

Thanks for posting the cause and solution that you found that fixed this issue for you ... it is a great help to others ... :smile: