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

#   Custom Field - File Upload

##

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

Less More

- Posts: 22
- Thank you received: 1
-
-

9 years 10 months ago -  9 years 10 months ago [\#258145](#258145) by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")  *[Custom Field - File Upload](/forum/35-orders-management/888021-custom-field-file-upload#258145 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Some of our products require a file upload. Example is Tee Shirt which needs an image to be printed This works well but ALL images from ALL customers go to the SAME folder on our server. So 'myface.jpg' from one customer can be overwritten by another customer the next day !! Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???  ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.")* was created by *[richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5

Some of our products require a file upload.
Example is Tee Shirt which needs an image to be printed
This works well but ALL images from ALL customers go to the SAME folder on our server.
So 'myface.jpg' from one customer can be overwritten by another customer the next day !!
Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???

ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End
BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.

Last edit: 9 years 10 months ago by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODAyMS1jdXN0b20tZmllbGQtZmlsZS11cGxvYWQ/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: 86363
- Thank you received: 14297
-
-

9 years 10 months ago [\#258171](#258171) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field - File Upload](/forum/35-orders-management/888021-custom-field-file-upload#258171 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Some of our products require a file upload. Example is Tee Shirt which needs an image to be printed This works well but ALL images from ALL customers go to the SAME folder on our server. So 'myface.jpg' from one customer can be overwritten by another customer the next day !! Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???  ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.")*

Hi,

Indeed, all the files go to the same folder. HOWEVER, the myface.jpg from one customer won't be overwritten by a file with the same name uploaded by someone else. HikaShop will automatically modify the file name of the new file. Also, only the person who created the order linked to that file or an admin will be able to display it. So the system is already safe and there is no need to have different folders for different customers/orders.

If you can't see the uploaded file of an item custom field in the backend, it's probably that you turned off the backend display settings of the field. Edit it, make sure that the display settings are turned on and save the settings.
If you still don't see anything for an order with such custom field please provide:
- a screenshot of the settings of the custom field
- a screenshot of the details of that order.

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

9 years 10 months ago [\#258192](#258192) by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")  Replied by *[richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")* on topic *[Custom Field - File Upload](/forum/35-orders-management/888021-custom-field-file-upload#258192 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Some of our products require a file upload. Example is Tee Shirt which needs an image to be printed This works well but ALL images from ALL customers go to the SAME folder on our server. So 'myface.jpg' from one customer can be overwritten by another customer the next day !! Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???  ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.")*

Nicolas
Thank you
Yes you are right, of course. A duplicate filename gets renamed (only if the file content is different though ??) so that's good
Also, we reinstalled Hikashop 2.6.4 for other reasons and the Item Custom Field now works - we see the uploaded file in the backend order view AND in the customer frontend order history view.
I'm sure this was not working in 3.0.0.

Thanks again

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

9 years 10 months ago [\#258214](#258214) by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")  Replied by *[richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")* on topic *[Custom Field - File Upload](/forum/35-orders-management/888021-custom-field-file-upload#258214 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Some of our products require a file upload. Example is Tee Shirt which needs an image to be printed This works well but ALL images from ALL customers go to the SAME folder on our server. So 'myface.jpg' from one customer can be overwritten by another customer the next day !! Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???  ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.")*

Hi

Another question on the same topic.

Where artwork upload is concerned, the best time to process it is after the order has been completed and ordering accepted (so after the "end" process).

I can see that it is possible in the "back end" to do this, but is there anyway to configure the cart process to complete the payment transaction and then go to the "upload page" i.e. after the order has been processed. (see first image)

In the same way, is it possible to add the upload custom field to the customer's order details (see second image)

- [ ![current-upload-state.png](/forum/attachment/35304) ](/forum/attachment/35304 "...load-state.png") [ ](/forum/attachment/35304?download=1 "...load-state.png")
- [ ![adding-upload-artwork-extra-field.png](/forum/attachment/35305) ](/forum/attachment/35305 "...xtra-field.png") [ ](/forum/attachment/35305?download=1 "...xtra-field.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODAyMS1jdXN0b20tZmllbGQtZmlsZS11cGxvYWQ/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: 86363
- Thank you received: 14297
-
-

9 years 10 months ago -  9 years 10 months ago [\#258200](#258200) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field - File Upload](/forum/35-orders-management/888021-custom-field-file-upload#258200 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5  Some of our products require a file upload. Example is Tee Shirt which needs an image to be printed This works well but ALL images from ALL customers go to the SAME folder on our server. So 'myface.jpg' from one customer can be overwritten by another customer the next day !! Can I add something like '%customer%' OR '%order%' to the upload secure folder path ???  ALSO I am using Custom Field Table=Order as this works well and I can see the uploaded file in Additional information from the Back End BUT if I use the Table=Item to attach the UPLOAD option to the individual Product then , although this works and the file is uploaded I cannot see this uploaded file ANYWHERE in the backend view of the order.")*

Hi,

1. Yes, if it's the exact same file, there is no need to rename it. HikaShop will directly use the file since it also checks who can access it and that once a customer uploaded it, he can't modify the file.

2. Ah, I hadn't understood that the problem was with the 3.0. Indeed I was able to reproduce the problem with it and it's now fixed. You can download the install package of the 3.0 again on our website and install it on yours to get the patch.

3. There is no option to have custom fields after the checkout or on the order details page.

Last edit: 9 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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