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

#   Additional Fiedls/type:file/backoffice

##

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

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 3 weeks ago [\#177782](#177782) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  *[Additional Fiedls/type:file/backoffice](/forum/35-orders-management/872722-additional-fiedls-type-file-backoffice#177782 "-- HikaShop version -- : HikaShop &#91;1409241754&#93;  Hey Guys. Its been a while and the new version looks GREAT. I do have one issue that I need to report I have added 2 fields to the order table. They are file type fields and are documents that our customers have to fill out and return. They are only visible in the back office as we will do the file associations not the customer. When we upload both documents at the same time, they are both associated with the order as expected. If we upload one during a session, then come back and upload the second at a later time...the first file is no long associated with the order. If we update the first one again, then the second is removed. Its as if you can only have one at a time unless you upload them both unless you upload them at the same time. Thanks in advance, Alan")* was created by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")*

-- HikaShop version -- : HikaShop [1409241754]

Hey Guys. Its been a while and the new version looks GREAT.
I do have one issue that I need to report
I have added 2 fields to the order table. They are file type fields and are documents that our customers have to fill out and return. They are only visible in the back office as we will do the file associations not the customer.
When we upload both documents at the same time, they are both associated with the order as expected. If we upload one during a session, then come back and upload the second at a later time...the first file is no long associated with the order. If we update the first one again, then the second is removed. Its as if you can only have one at a time unless you upload them both unless you upload them at the same time.
Thanks in advance,
Alan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MjcyMi1hZGRpdGlvbmFsLWZpZWRscy10eXBlLWZpbGUtYmFja29mZmljZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 3 weeks ago [\#177869](#177869) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Additional Fiedls/type:file/backoffice](/forum/35-orders-management/872722-additional-fiedls-type-file-backoffice#177869 "-- HikaShop version -- : HikaShop &#91;1409241754&#93;  Hey Guys. Its been a while and the new version looks GREAT. I do have one issue that I need to report I have added 2 fields to the order table. They are file type fields and are documents that our customers have to fill out and return. They are only visible in the back office as we will do the file associations not the customer. When we upload both documents at the same time, they are both associated with the order as expected. If we upload one during a session, then come back and upload the second at a later time...the first file is no long associated with the order. If we update the first one again, then the second is removed. Its as if you can only have one at a time unless you upload them both unless you upload them at the same time. Thanks in advance, Alan")*

Hi,

Add the code:
if(!empty($value))

before the line:
$order-&gt;$key = $value;

in the file administrator/components/com_hikashop/classes/order.php and that should avoid the problem.

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

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

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 2 weeks ago [\#178820](#178820) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  Replied by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")* on topic *[Additional Fiedls/type:file/backoffice](/forum/35-orders-management/872722-additional-fiedls-type-file-backoffice#178820 "-- HikaShop version -- : HikaShop &#91;1409241754&#93;  Hey Guys. Its been a while and the new version looks GREAT. I do have one issue that I need to report I have added 2 fields to the order table. They are file type fields and are documents that our customers have to fill out and return. They are only visible in the back office as we will do the file associations not the customer. When we upload both documents at the same time, they are both associated with the order as expected. If we upload one during a session, then come back and upload the second at a later time...the first file is no long associated with the order. If we update the first one again, then the second is removed. Its as if you can only have one at a time unless you upload them both unless you upload them at the same time. Thanks in advance, Alan")*

The solution worked perfectly...thanks for the awesome support. You guys continue to rock ![;-)](/media/kunena/emoticons/24.png ";-)")

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

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