[Skip to main content](#vessel-content)

#   Order number?

##

- **[Brotha](/forum/user/36818-brotha "View Brotha's Profile")**
- [![Brotha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36818-brotha "View Brotha's Profile") Topic Author
- [ Offline](/forum/user/36818-brotha)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 7 months ago [\#197571](#197571) by [Brotha](/forum/user/36818-brotha "View Brotha's Profile")  *[Order number?](/forum/27-checkout/876212-order-number#197571 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")* was created by *[Brotha](/forum/user/36818-brotha "View Brotha's Profile")*

Hi guys, quick question:

What exactly what does the "order number" field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 7 months ago [\#197595](#197595) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#197595 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

Hello,
Are you talking about the "checkout" menu of the "Hikashop-&gt;System-&gt;Configuration-&gt;Main" ? If that's the case :

> Order number format : 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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Brotha](/forum/user/36818-brotha "View Brotha's Profile")**
- [![Brotha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36818-brotha "View Brotha's Profile") Topic Author
- [ Offline](/forum/user/36818-brotha)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 7 months ago [\#197662](#197662) by [Brotha](/forum/user/36818-brotha "View Brotha's Profile")  Replied by *[Brotha](/forum/user/36818-brotha "View Brotha's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#197662 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

Thanks for your reply, Mohamed.

It's not what I meant, please see the image below. The payment option plugin that is used is "HikaShop Purchase Order payment plugin", and when I select it, a form appears that needs to be filled in before continuing, but whatever I fill in, I can't see it appearing anywhere, so what does it do?

[ ![&#91;img](http://i.imgur.com/5RYTNyB.jpg) ](http://i.imgur.com/5RYTNyB.jpg "&#91;img")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 7 months ago [\#197690](#197690) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#197690 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

Ok, can you tell me which payment method are you using so that I can directly test it on my end ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")**
- [![alejandrojaramiranda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.gif)](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")
- [ Offline](/forum/user/36049-alejandrojaramiranda)

Less More

- Posts: 17
- Thank you received: 0
-
-
-

11 years 6 months ago -  11 years 6 months ago [\#199795](#199795) by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")  Replied by *[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#199795 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

Hi Mohamed,

I have the same question.
What @Brotha refers is that when you create a payment method using the Purchase Order plugin, and the customer selects this method, (in the checkout) it appears a hidden &lt;div&gt; asking for a number. (see attachment)
What I know is that every company has their own numbering schema for purchase orders, but not anyone uses numbering (it depends on the nature of the product or service you are purchasing via internet or phone call).
[strike]So I think it is necessary that this field was not mandatory or even not present (in my case).[/strike]
Where can I edit this? If you answer "Display&gt;View&gt;xxx " ,please, tell us which line.

Thank you

P.S. edition: I'was wrong :blush: : is mandatory because purchase orders implies obligation...how to say...some kind of contract, and the number is important for charge what they (customer) should pay you.

- [ ![purchaseorder.png](/forum/attachment/24051) ](/forum/attachment/24051 "purchaseorder.png") [ ](/forum/attachment/24051?download=1 "purchaseorder.png")

Last edit: 11 years 6 months ago by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile"). Reason: corrections and more information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 6 months ago [\#199819](#199819) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#199819 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

Hi,

To not have the field, you can use the payment method "collect on delivery" and rename it to "Purchase order" ![;)](/media/kunena/emoticons/24.png ";)")
it will have the same behaviour.

The following user(s) said Thank You: [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")**
- [![alejandrojaramiranda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.gif)](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")
- [ Offline](/forum/user/36049-alejandrojaramiranda)

Less More

- Posts: 17
- Thank you received: 0
-
-
-

11 years 6 months ago [\#199953](#199953) by [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")  Replied by *[alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#199953 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

@Brotha: this number is shown in the "History" of the order (go to your backend&gt;Hikashop&gt;Orders&gt;theorder&gt;at bottom

@Xavier/Mohamed: in the Invoice, at bottom, it is said "Payment Method: Purchase order" but don't mention the number. I think is useful that the Invoice invoke the P.O number: how can edit this invoice template (or view or whatever) and which line should I edit?
And as @Bortha said, the number don't appear in the email, it could be useful appearing there, too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 6 months ago [\#200018](#200018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order number?](/forum/27-checkout/876212-order-number#200018 "Hi guys, quick question:  What exactly what does the &quot;order number&quot; field in the checkout menu mean? I can't see any order number in the email I receive upon a completed order, so what purpose does it have?")*

You can edit the invoice via the menu Display&gt;Views by editing the file "invoice" of the view "order".
You can edit the email via the menu System&gt;Emails.

Such code would be necessary: Code:

&lt;?php $database = JFactory::getDBO(); $query='SELECT * FROM '.hikashop_table('history').' WHERE history_order_id='.$this-&gt;order-&gt;order_id.' ORDER BY history_created DESC'; $database-&gt;setQuery($query); $history = $database-&gt;loadObjectList(); foreach($history as $data){ echo $data-&gt;history_data; } ?&gt;

The following user(s) said Thank You: [alejandrojaramiranda](/forum/user/36049-alejandrojaramiranda "View alejandrojaramiranda's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjIxMi1vcmRlci1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.075 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
