Hi guys,
I've developed a bespoke function for Zen Cart, where users are given 3 levels which interlink to two types of products. Each user level means they can only purchase a certain combination of products.
For instance, if we had product type A and product type B:
Level 1 can purchase A and B, but once
Level 2 can purchase B
Level 3 can purchase A and B forever.
Anyway, to get to the point, for a reason I have really no idea about, when a level 1 or 2 customer buys a product, they get an email saying:
"Thanks for shopping with us today!
The following are the details of your order.
------------------------------------------------------
Order Number: 0"
Which struck me as really odd.
I checked the database and noticed the order had indeed been added to the database, but it doesn't show up in the admin area! The 3rd level gets an email with the correct order ID, but that order doesnt show either.
I just need to know, in general terms, what would prevent the order being pushed out of the database into the admin? For the time being, I'm using Cash on delivery and free shipping modules so I can test quickly.
I had this working beatifully at one point. The only change I've made was re-populating the website with EasyPopulate. (I checked all the new columns I created were still there!).
In addition to this craziness, the checkout success page displays the correct order number.
Pardon the strange question.
Tom
Bookmarks