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

#   Custom Order field - Display only in user account

##

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14069](#14069) by [momentis](/forum/user/364-momentis "View momentis's Profile")  *[Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14069 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")* was created by *[momentis](/forum/user/364-momentis "View momentis's Profile")*

I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER ACCOUNT &gt; ORDERS, the list of orders displayed will include a link to the PDF for each order, where applicable.

I created the custom file field, and set "Front End" to "No". I need to do this to keep it from displaying with my other custom Order fields during checkout. I am assuming that I now need to customize the Dashboard-&gt;Order view to include this field in that list, but I cannot seem to figure out how to do this. I can simply replace the price column, as it is not needed for my purposes. Is there a way to do this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

15 years 7 months ago [\#14083](#14083) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14083 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

You can edit the file listing of the view order of the front end via the menu Display-&gt;Views and change the code:

&lt;?php echo $row-&gt;order_number; ?&gt;

to:

&lt;?php echo $row-&gt;order_number; ?&gt;
&lt;br/&gt;
&lt;?
$class = hikashop::get('class.field');
$field = $class-&gt;getField('FIELD_COLUMN_NAME','order');
echo $class-&gt;show($field,$row-&gt;FIELD_COLUMN_NAME);
?&gt;

You need to replace FIELD_COLUMN_NAME by the column name of your field.

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14084](#14084) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14084 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

nicolas,

I know you had discussed the possibility of the next version of HikaShop allowing for a more widespread use of custom fields. Is the something that would be included in that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

15 years 7 months ago [\#14085](#14085) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14085 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Not really. That's really a custom request. If other users ask for a similar thing, we will look at including it but no one had that need so far.

If you do that change via the interface, you will still be able to update HikaShop later on without loosing your modifications.

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14086](#14086) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14086 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Perfect! That works for me!

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14172](#14172) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14172 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

I am in Display-&gt;Views-&gt;Order-&gt;listing.php (Front End)

I cannot find the line you reference: Code:

&lt;?php echo $row-&gt;order_number; ?&gt;

Am I in the right file?

And if I am, and wish to replace the Order Total with this custom field, do I replace this line: Code:

&lt;?php echo $this-&gt;currencyHelper-&gt;format($row-&gt;order_full_price,$row-&gt;order_currency_id);?&gt;

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

15 years 7 months ago [\#14173](#14173) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14173 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Then you're not using the version 1.4.9
Before that version it was:
echo hikashop::encode($row);

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14175](#14175) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14175 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

I updated to 1.4.9 this morning, and I just verified my version (Help-&gt;Update/About) and I am still not seeing the line:

&lt;?php echo $row-&gt;order_number; ?&gt;

But I do find the line:

echo hikashop::encode($row);

Just thought I would mention it, because I am just not seeing what you are.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

15 years 7 months ago [\#14176](#14176) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14176 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

That's probably because you had edited your view before updating. At the beginning of each view code, you have the version number of the file. You probably have a previous version number there.

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 7 months ago [\#14177](#14177) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#14177 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

You got it!! No matter, it works absolutely PERFECTLY!!!!!

Do you ever sleep? You have provided support that is on-par with Geraint Edwards (JEvents), and I never thought I would find a developer I would say that to. It is SO rare to find this, even with commercial extensions, in the Joomla world. Thank you, thank you, thank you!!

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

- **[Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")**
- [![Lakidia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40723-lakidia "View Lakidia's Profile")
- [ Offline](/forum/user/40723-lakidia)

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 9 months ago [\#229010](#229010) by [Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")  Replied by *[Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")* on topic *[Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#229010 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

I have a question referring to that. How can I display the individual order of my clients?
Profil -&gt; Order (and here I would like to display the orders they have done, if it is possible with a picture and the name of the product and a link the the digital order they made)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

10 years 9 months ago [\#229027](#229027) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#229027 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Hi,

You can create a new menu item of the type "hikashop orders listing" via the Joomla menu manager so that your customers will be able to access it. There, they'll get a listing of all the orders they previously made on your website and when opening one, they'll be able to see the downloads of the products of that order.

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

- **[Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")**
- [![Lakidia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40723-lakidia "View Lakidia's Profile")
- [ Offline](/forum/user/40723-lakidia)

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 9 months ago [\#229302](#229302) by [Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")  Replied by *[Lakidia](/forum/user/40723-lakidia "View Lakidia's Profile")* on topic *[Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#229302 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Thank you so much. But is it possible to show them with a picture? And that picture i would like to link to an external URL.
If that would be possible - it would be great.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86576
- Thank you received: 14320
-
-

10 years 9 months ago [\#229348](#229348) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Order field - Display only in user account](/forum/4-how-to/14069-custom-order-field-display-only-in-user-account#229348 "I would like to be able to have a custom field (type=file), tied to Orders, which will allow me to upload a PDF of a finished print job. Then, when my users log into their account and go to CUSTOMER...")*

Hi,

There is no option for that. But if you want to add it, it's possible. You need to edit the file "show" of the view "order" via the menu Display&gt;Views and add the HTML for your image tag and link around it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0MDY5LWN1c3RvbS1vcmRlci1maWVsZC1kaXNwbGF5LW9ubHktaW4tdXNlci1hY2NvdW50P3RtcGw9bWFya2Rvd24=) 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.099 seconds

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