Forums / General Questions / Order number on checkout page is wrong

Order number on checkout page is wrong

Views: 710

Results 1 to 4 of 4
3 Nov 2015, 1:26 PM
#1
joecooper avatar

joecooper

Zen Follower

Join Date:
Aug 2011
Posts:
122
Plugin Contributions:
0

Order number on checkout page is wrong

When someone places an order, they get the order number but minus 1.

So if their order number is actually 100, it would say "99". If they refresh the page, it shows "100" as the correct one.

Does anyone know why this could be happening?

3 Nov 2015, 5:32 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Order number on checkout page is wrong

joecooper:

When someone places an order, they get the order number but minus 1.

So if their order number is actually 100, it would say "99". If they refresh the page, it shows "100" as the correct one.

Does anyone know why this could be happening?

What version of zencart are you running? Any modules you are running? Are the orders you have in sequential order or are they skipping? What about the email they are receiving is that correct?

4 Nov 2015, 10:49 AM
#3
joecooper avatar

joecooper

Zen Follower

Join Date:
Aug 2011
Posts:
122
Plugin Contributions:
0

Re: Order number on checkout page is wrong

This was happening from the first install of v153 with just a theme added. I have removed the order number for now, and will rewrite the code to get the correct order number. Not sure why this is only affecting me.

5 Nov 2015, 3:02 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Order number on checkout page is wrong

joecooper:

This was happening from the first install of v153 with just a theme added. ....

Which template did you add? Is it one from Template Monster?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.