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

#   Item custom field not saved

##

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

Less More

- Posts: 3
- Thank you received: 1
-
-

10 years 2 months ago -  10 years 2 months ago [\#248995](#248995) by [hikashi](/forum/user/44877-hikashi "View hikashi's Profile")  *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#248995 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")* was created by *[hikashi](/forum/user/44877-hikashi "View hikashi's Profile")*

Hi,

Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.

I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database "order_product", after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a "clean" installation.

Where could the error be in?

Edit: Joomla log prompted database query "INSERT IGNORE INTO josvp_hikashop_order_product (order_id,product_id,order_product_quantity,order_product_name,order_product_code,order_product_price,order_product_tax,order_product_options,order_product_option_parent_id,order_product_tax_info,order_product_wishlist_id,order_product_shipping_id,order_product_shipping_method,order_product_shipping_price,order_product_shipping_tax,order_product_shipping_params)
VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')"

This query didn't include the item custom field.

Last edit: 10 years 2 months ago by [hikashi](/forum/user/44877-hikashi "View hikashi's Profile").

The following user(s) said Thank You: [kishoreweblabs](/forum/user/39410-kishoreweblabs "View kishoreweblabs's Profile")

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

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

Less More

- Posts: 3
- Thank you received: 1
-
-

10 years 2 months ago [\#249005](#249005) by [hikashi](/forum/user/44877-hikashi "View hikashi's Profile")  Replied by *[hikashi](/forum/user/44877-hikashi "View hikashi's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#249005 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Painstakingly looked through the logs, fixed the problem via the database table "field", column "field_frontcomp" changed to "1". Thereafter, it works. There is definitely a bug here as the back-end administration page has no option of "front-end" but the coding takes into account of "front-end" data stored in the database table "field".

Please do look into this, since it could have further implication. Thank you.

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

10 years 2 months ago [\#249007](#249007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#249007 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Hi,

Since the 2.6.0 we've added a new custom field display system with new display options. For the fields to display properly, it requires to edit the custom fields and save them again in some cases (it will set the field_frontcomp value automatically).

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

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

Less More

- Posts: 3
- Thank you received: 1
-
-

10 years 2 months ago [\#249038](#249038) by [hikashi](/forum/user/44877-hikashi "View hikashi's Profile")  Replied by *[hikashi](/forum/user/44877-hikashi "View hikashi's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#249038 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Hi Nicolas,

I did edit and save again the item custom fields, and I'm not referring to the showing of fields. Despite having dhis "re-save", the database did not update the frontcomp value to 1. Hence, the bug has worsen. For your information, I did spent hours looking the forums for existing similar issue but to no avail.

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

10 years 2 months ago [\#249040](#249040) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#249040 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Hi,

I've done a test to try to replicate the issue with HikaShop Business 2.6.4 and I don't have the problem. After creating a new custom item field and saving it, the field_frontcomp value is 1.

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-
- [](http://www.kishoreweblabs.com)
-

9 years 10 months ago [\#259700](#259700) by [kishoreweblabs](/forum/user/39410-kishoreweblabs "View kishoreweblabs's Profile")  Replied by *[kishoreweblabs](/forum/user/39410-kishoreweblabs "View kishoreweblabs's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#259700 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Hello,

My client also have similar prblem. But his current version is 2.6.3. Saving and re-saving did not worked.
So i also changed the value to 1 from phpmyadmin and it start saving the value and showing order details and email..

Thanks
Kishore

---

Available for paid hikashop consulting
[ www.kishoreweblabs.com](http://www.kishoreweblabs.com)

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

9 years 10 months ago [\#259751](#259751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Item custom field not saved](/forum/26-product-category-display/886253-item-custom-field-not-saved#259751 "Hi,  Everything was working fine, but not the item custom field. It was set up properly where I could input in the product page, and it was in the cart database, until the checkout was completed.  I have set up the item custom field for a product. The whole checkout process was completed but I realised the input was not updated in the database &quot;order&#95;product&quot;, after the order was created. This error did not occur when I tried with sample data installation. But only occurred when it was a &quot;clean&quot; installation.  Where could the error be in?  Edit: Joomla log prompted database query &quot;INSERT IGNORE INTO josvp&#95;hikashop&#95;order&#95;product (order&#95;id,product&#95;id,order&#95;product&#95;quantity,order&#95;product&#95;name,order&#95;product&#95;code,order&#95;product&#95;price,order&#95;product&#95;tax,order&#95;product&#95;options,order&#95;product&#95;option&#95;parent&#95;id,order&#95;product&#95;tax&#95;info,order&#95;product&#95;wishlist&#95;id,order&#95;product&#95;shipping&#95;id,order&#95;product&#95;shipping&#95;method,order&#95;product&#95;shipping&#95;price,order&#95;product&#95;shipping&#95;tax,order&#95;product&#95;shipping&#95;params) VALUES (2,1,1,'Air Freight','AFE01','','0','',2,'',0,'','',0,0,'')&quot;  This query didn't include the item custom field.")*

Hi,

Yes, there was such problem on the 2.6.3.
The problem was fixed in the 2.6..4

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

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