order number and invoice number do not match

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
5 years 11 months ago #301333

-- 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?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 11 months ago #301335

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.

Please Log in or Create an account to join the conversation.

  • Posts: 246
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
5 years 11 months ago #301477

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 11 months ago #301481

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.059 seconds
Powered by Kunena Forum