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

#   Custom Fields missing

##

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

Less More

- Posts: 63
- Thank you received: 1
-
-

7 years 10 months ago [\#301596](#301596) by [mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")  *[Custom Fields missing](/forum/25-install-update/896450-custom-fields-missing#301596 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  Hello,  We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.  Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.  Many thanks Tony")* was created by *[mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1

Hello,

We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.

Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.

Many thanks
Tony

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

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

Less More

- Posts: 63
- Thank you received: 1
-
-

7 years 10 months ago [\#301597](#301597) by [mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")  Replied by *[mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")* on topic *[Custom Fields missing](/forum/25-install-update/896450-custom-fields-missing#301597 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  Hello,  We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.  Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.  Many thanks Tony")*

We have been able to implement a workaround fix for now,

In:

/administrator/components/com_hikashop/classes/order.php

line: 660 change:
$orderProduct-&gt;$namekey = $product-&gt;$namekey;
to
$cartProduct = $cart-&gt;cart_products[$product-&gt;cart_product_id];
$orderProduct-&gt;$namekey = $cartProduct-&gt;$namekey;

This then gets the values correctly from the cart, I'm not sure where else you may be getting them from as at this point two are set in product but the rest are not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjQ1MC1jdXN0b20tZmllbGRzLW1pc3Npbmc/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86286
- Thank you received: 14263
-
-

7 years 10 months ago [\#301599](#301599) 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 missing](/forum/25-install-update/896450-custom-fields-missing#301599 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  Hello,  We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.  Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.  Many thanks Tony")*

Hi,

I suppose that this is linked to the column name of the custom field which is something we must use for something else.
Could you provide screenshots of the settings of these custom fields ?

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

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

Less More

- Posts: 63
- Thank you received: 1
-
-

7 years 10 months ago [\#301625](#301625) by [mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")  Replied by *[mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")* on topic *[Custom Fields missing](/forum/25-install-update/896450-custom-fields-missing#301625 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  Hello,  We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.  Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.  Many thanks Tony")*

See images attached

- [ ![Screenshot&#95;2018-12-14SurreyRugby-Administration-Fieldteamname&#95;2018-12-14.png](/forum/attachment/45620) ](/forum/attachment/45620 "...2018-12-14.png") [ ](/forum/attachment/45620?download=1 "...2018-12-14.png")
- [ ![Screenshot&#95;2018-12-14SurreyRugby-Administration-Customfields&#95;2018-12-14.png](/forum/attachment/45621) ](/forum/attachment/45621 "...2018-12-14.png") [ ](/forum/attachment/45621?download=1 "...2018-12-14.png")

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

7 years 10 months ago -  7 years 10 months ago [\#301628](#301628) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Custom Fields missing](/forum/25-install-update/896450-custom-fields-missing#301628 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1  Hello,  We have custom fields showing in the product page people fill them out add product to cart great. All shows in the cart and on the order confirmation page, on confirming order all but two of the fields are lost. All fields are identical setting wise, we cannot see where it's loosing them.  Currently debugging the code, but struggling to see where you fetch the values and input them into the product order class.  Many thanks Tony")*

Hello,

So far your settings seems correct, can you provide more elements like :
- A **step by step** procedure in order to reproduce your issue
- An **Url Link** to process some tests directly on your website
- Any elements that can help us to better understand context

Awaiting news from you
Regards

Last edit: 7 years 10 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

[](#top)
