synchronise order and invoicenumber

  • Posts: 252
  • Thank you received: 3
10 years 7 months ago #152973

-- url of the page with the problem -- : dodowear.nl
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hello,
Can you tell me how to synchronise the order and invoicenumber?
Now these numbers are not the same, but I would like it to be so.
I thought I red somewhere, but I can not find the topic anymore
Thanks in advance
Boudewijn

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 7 months ago #152980

Hi,

You can try the documentation:
www.hikashop.com/support/support/documen...nfig.html#main_order

Invoice order statuses: You can set here the order status which will generate the invoice number. If "created" is listed, you will have the same invoice number than the order number.


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 252
  • Thank you received: 3
10 years 7 months ago #153028

Hi Jerome,
Thank for the link.
But what I can not see is how to have the numbers the same
I have set them both to D{id size="5"}-{date format="m"}
Then the order is number for instance D02015-04 and the invoice is D01950-04
But I would like them to be the same
Should set one of them to automatic code?
Regards

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 7 months ago #153034

Hi,

The issue is that you're using "id" in your format. When you do that, the invoice number will actually use the order_invoice_id and the order number will use the order_id.
If you want the same value to be used in your numbers, you should instead use that format:
D{order_id size="5"}-{date format="m"}

That way, it will use the order_id for both and you'll get the same result

The following user(s) said Thank You: Boudewijn

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

  • Posts: 252
  • Thank you received: 3
10 years 7 months ago #153180

That was an easy one.
Thanks

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

Time to create page: 0.063 seconds
Powered by Kunena Forum