Skip to main content

{automatic_code} with a min. of 6 positions

More
7 years 4 months ago #306378 by n00bster
-- HikaShop version -- : 4.0.3

how did you manage the orders like on the image below?


when i use the {automatic_code} i get only a order id with 3 positions, like this: T17
But i want to generate a min. of 6 positions.
how did you manage this on your hika installation?

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

More
7 years 4 months ago #306383 by nicolas
Hi,

We use the automatic_code tag, but with a bigger order_id.
The following user(s) said Thank You: n00bster

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

More
7 years 4 months ago #306389 by n00bster
how can i enlarge the order_id?

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

More
7 years 4 months ago #306393 by nicolas
Hi,

For the order number, you need a bigger order_id. Thi can be increased in the auto increment setting of your phpmyadmin in the hikashop_order table:
www.hikashop.com/forum/install-update/88...r-order-numbers.html
For the invoice number, the automatic_code bases itself on the order_invoice_id and it depends on the last order's order_invoice_id. So you would have to edit the value of that column in hikashop_order for the last confirmed order and increase the value that. That will be taken into account for the next confirmed order.

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

Time to create page: 0.165 seconds
Powered by Kunena Forum