- Posts: 254
- Thank you received: 2
order number and invoice number do not match
7 years 10 months ago #301333
by bigfoot
order number and invoice number do not match was created by bigfoot
-- url of the page with the problem -- :
www.beeswaxcandleshop.com
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1.24
I just noticed that my "Invoice number" is not the same as the "order number" (lastest order -- "order number = 10959" "Invoice number = 10915)
It does not seem to be a problem - should I reset them somehow?
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1.24
I just noticed that my "Invoice number" is not the same as the "order number" (lastest order -- "order number = 10959" "Invoice number = 10915)
It does not seem to be a problem - should I reset them somehow?
Please Log in or Create an account to join the conversation.
7 years 10 months ago #301335
by nicolas
Replied by nicolas on topic order number and invoice number do not match
Hi,
That's normal. By default the order_number is based on the order id, an incremental integer incremented for each order created.
And the invoice number is based on the invoice id, an incremental integer incremented for each order confirmed.
So once you have an order which is created but not confirmed, the next confirmed order will have an invoice number based on an invoice id different from the order id.
Now if you want to base both numbers on the order id, you can use the "invoice number format" and the "order number format" options of the HikaShop configuration.
That's normal. By default the order_number is based on the order id, an incremental integer incremented for each order created.
And the invoice number is based on the invoice id, an incremental integer incremented for each order confirmed.
So once you have an order which is created but not confirmed, the next confirmed order will have an invoice number based on an invoice id different from the order id.
Now if you want to base both numbers on the order id, you can use the "invoice number format" and the "order number format" options of the HikaShop configuration.
Please Log in or Create an account to join the conversation.
7 years 9 months ago #301477
by bigfoot
Replied by bigfoot on topic order number and invoice number do not match
I would like the invoice number to be same as order number - all see on the config is {id size="4"} - What do I need to add?
Please Log in or Create an account to join the conversation.
7 years 9 months ago #301481
by nicolas
Replied by nicolas on topic order number and invoice number do not match
You can replace that by {order_number} or {order_id size="4"}
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds