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

#   Custom fields for Item are missing in order table.

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 5 months ago [\#204947](#204947) by [TrolHambriento](/forum/user/35632-trolhambriento "View TrolHambriento's Profile")  *[Custom fields for Item are missing in order table.](/forum/27-checkout/877561-custom-fields-for-item-are-missing-in-order-table#204947 "-- HikaShop version -- : 2.5.0 Business  Hello.  Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop&#95;cart&#95;product table and hikashop&#95;order&#95;product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop&#95;cart&#95;product table prior checkout, right after checkout items are moving to the hikashop&#95;order&#95;product but with empty values for custom fields.  Am I missing something? :unsure:")* was created by *[TrolHambriento](/forum/user/35632-trolhambriento "View TrolHambriento's Profile")*

-- HikaShop version -- : 2.5.0 Business

Hello.

Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop_cart_product table and hikashop_order_product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop_cart_product table prior checkout, right after checkout items are moving to the hikashop_order_product but with empty values for custom fields.

Am I missing something? ![:unsure:](/media/kunena/emoticons/18.png ":unsure:")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzU2MS1jdXN0b20tZmllbGRzLWZvci1pdGVtLWFyZS1taXNzaW5nLWluLW9yZGVyLXRhYmxlP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

11 years 5 months ago [\#204978](#204978) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields for Item are missing in order table.](/forum/27-checkout/877561-custom-fields-for-item-are-missing-in-order-table#204978 "-- HikaShop version -- : 2.5.0 Business  Hello.  Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop&#95;cart&#95;product table and hikashop&#95;order&#95;product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop&#95;cart&#95;product table prior checkout, right after checkout items are moving to the hikashop&#95;order&#95;product but with empty values for custom fields.  Am I missing something? :unsure:")*

Hi,

I've never seen what you describe.
As you say, the copy from the cart_product to the order_product table is automatic.
It's done in the after_confirm function of the components/com_hikashop/controllers/checkout.php file.
As it works fine on our end, there must be something on your website and we would have to investigate directly on your website in order to understand what's going on.

The following user(s) said Thank You: [TrolHambriento](/forum/user/35632-trolhambriento "View TrolHambriento's Profile")

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 5 months ago [\#205092](#205092) by [TrolHambriento](/forum/user/35632-trolhambriento "View TrolHambriento's Profile")  Replied by *[TrolHambriento](/forum/user/35632-trolhambriento "View TrolHambriento's Profile")* on topic *[Custom fields for Item are missing in order table.](/forum/27-checkout/877561-custom-fields-for-item-are-missing-in-order-table#205092 "-- HikaShop version -- : 2.5.0 Business  Hello.  Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop&#95;cart&#95;product table and hikashop&#95;order&#95;product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop&#95;cart&#95;product table prior checkout, right after checkout items are moving to the hikashop&#95;order&#95;product but with empty values for custom fields.  Am I missing something? :unsure:")*

Sorry, was my fault.
I was filling custom fields in cart_products table "manually" (from my component just after an item was added to the cart), but those fields was still disabled on the Front-End and such fields are just not getting copied to the order_products after checkout... didn't thought that Front-End option would be that important as for this case ![;)](/media/kunena/emoticons/24.png ";)")

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

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