× Здесь вы можете свободно общаться на русском языке. Просим отнестись с пониманием к тому, что мы не разговариваем на этом языке и не можем осуществлять поддержку на нем.

Как изменить формат номера заказа

  • Posts: 10
  • Thank you received: 0
11 years 3 months ago #85547

Здравствуйте!!!
Хотелось бы поменять формат номера заказа в бизнес версии c D3, H7, N12 на вида 2013-0001...ну и дальше 0002 и т.д. в настройках нашел соответствующие поля, но вот что в них писать не приложу ума.



Спасибо!!!

Attachments:

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

  • Posts: 2293
  • Thank you received: 315
11 years 3 months ago #85548

в первую очередь читайте хелп на эту тему

This option enables you to set the format of order numbers. It is only available in commercial versions of HikaShop. By default, the order number uses letters and numbers interleaved together. this is represented here with the tag {automatic_code}. If you want to use the order number directly, you can use the tag {id}. In the tag id, you can specify the number of numbers with the size attribute. For example, {id size="5"} will result in 00123 for the order with the id 123. You can also use the date tag in order to insert date information. For example, {date format="m/Y"} will result in 02/11 for an order made in February 2011. You can combine them to generate pretty advanced order numbers like the format RE-{id size="5"}/{date format="m/Y"} used for German accounting which will result in RE-00123/02/11 for the order 123 made on February 2011.


то есть если хотите включить в номер заказа его id то пишите {id size="5"}. Можно также использовать дату {date format="m/Y"}
или все вместе {id size="5"}/{date format="m/Y"}

например я сделал вот так:
№{id size="5"} от {date format="d-m-Y"}


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
The following user(s) said Thank You: e134xy, MrsIE

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

  • Posts: 10
  • Thank you received: 0
11 years 3 months ago #85549

Огромное спасибо!

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

Moderators: progreccor
Time to create page: 0.078 seconds
Powered by Kunena Forum