N
N
nikegk2017-10-13 15:12:54
1C-Bitrix
nikegk, 2017-10-13 15:12:54

Is it possible to somehow change the order id in Bitrix?

Please tell me, is it possible to put down the required id in Bitrix immediately before placing an order?
I want the order numbers in 1s and on the site to be the same. Is it possible in principle to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Emelyanov, 2017-10-13
@nikegk

order id cannot be changed, but you can play around with the number (this is not the same thing).
See for example
https://dev.1c-bitrix.ru/community/blogs/product_f...
https://dev.1c-bitrix.ru/community/webdev/user/145...
https://blog .budagov.ru/svoy-shablon-generatsii-no...

K
kolbeev, 2021-05-13
@kolbeev

it is necessary to execute a SQL query
ALTER TABLE b_sale_order AUTO_INCREMENT = 10000;
in this way the counter changes and the id will change accordingly. specify the desired value as 10000. order number and id are not the same thing at all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question