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

#   Add data to product table on checkout

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 2 months ago [\#298369](#298369) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298369 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")* was created by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.3
-- PHP version -- : not sure
-- Browser(s) name and version -- : chrome

Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!

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

8 years 2 months ago [\#298375](#298375) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298375 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Hi,

I'm not sure what you mean ?
If you want to add new columns of information in either the "hikashop_order" table (tied to the order), you can create custom fields of the table "order". Then, if the name of your input corresponds to the name the custom field would use and that you replace the display of the custom fields by your HTML, you can have the save of the fields view of the checkout workflow save all your data automatically.
For the "hikashop_order_product" table (tied to the products in the order), there is no save in the checkout for that information so that means you would have to handle the saving yourself.

I would personnally recommend, you add your columns in the tables yourself and develop a plugin to add a new view to the checkout workflow with the "checkout API" of HikaShop:
[ www.hikashop.com/support/documentation/6...tation.html#checkout](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#checkout)
That way, you can handle the display and the saving of the data yourself through the plugin.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 2 months ago [\#298430](#298430) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  Replied by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298430 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

When placing an order, we want to add some of the information directly to the order_products table, not the orders table.

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

8 years 2 months ago [\#298446](#298446) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298446 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Hi,

Well, if you want you have your own checkout view using the checkout API, like I recommend in my previous message, you can store your data temporarily in the user session, and then implement the onAfterOrderCreate in order to update the hikashop_order_product table yourself with the data from the user session.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 2 months ago [\#298473](#298473) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  Replied by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298473 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Thank you,

what are the parameters that need to be passed to that function?

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

8 years 2 months ago [\#298479](#298479) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298479 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Hi,

You can read more about that event here:
[ www.hikashop.com/support/documentation/6...l#onAfterOrderCreate](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onAfterOrderCreate)

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 1 month ago [\#298714](#298714) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  Replied by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298714 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

We have a highly modified custom site that we cant just simply upgrade and download the newest version, but we would love some of your paid features. Is there a way we can pay and upgrade, and get database codes or something to just alter the restrictions?

Thank you

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

8 years 1 month ago [\#298718](#298718) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298718 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Hi,

I don't understand what you mean. If you purchase it, you then have all the code in the zip we give, so you can do whatever you want with it. But I don't see what you mean by "alter the restrictions" ? Which restrictions ?

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 1 month ago [\#298723](#298723) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  Replied by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298723 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

we cant just upgrade to your newest paid version, we have thousands of hours into our custom code so wanted to see if we pay for your subscription if we can get unlock information etc.

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

8 years 1 month ago [\#298733](#298733) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298733 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

Hi,

There is no restriction or lock in the code of HikaShop. The packages of each edition of HikaShop are generated dynamically out of the same code base with filters to remove the pieces of code and the files that are not needed.
So when you have the Starter edition, there is no possibility to bypass some lock to upgrade it to the Business edition because you're missing hundreds of pieces of code here and there and at least tens of files that would be needed for the Business edition.
Even compiling you a list of all the modifications necessary to turn a Starter edition into a Business edition would take me days.
The only way to unlock all the features is to install the install package of the Business edition and thus overwrite all the core files of HikaShop.
I understand it's already too late for you at this point, but that's why we recommend to use overrides everywhere instead of hacking directly in the core files. Otherwise, you won't even be able to update your HikaShop as the update also requires the overwrite of all the files.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

8 years 1 month ago [\#298832](#298832) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  Replied by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")* on topic *[Add data to product table on checkout](/forum/27-checkout/895804-add-data-to-product-table-on-checkout#298832 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : not sure -- Browser(s) name and version -- : chrome  Were trying to add info to columns in the database tied to products on checkout and having issues doing so. How can we structure the posted data to be added to the product table? Thank you!")*

ok thank you

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

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