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

#   Hikashop Admin Backend - Additional fields

##

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

Less More

- Posts: 39
- Thank you received: 0
-
-

10 years 8 months ago [\#233923](#233923) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  *[Hikashop Admin Backend - Additional fields](/forum/31-development/883256-hikashop-admin-backend-additional-fields#233923 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Hello, I want to add one or more additional fields in the Hikashop Backend (when adding OR editing a product). By this I mean a field like the &quot;price&quot; section. I have to add three fields, where the admin can type true (1) or false (0) to each field:  used, new (opened) and new  The data has to be inserted into the related database table. I found out how to do this in a previous Hikashop version, but since they changed a part of the file structure, I cannot figure out how to implement this function anymore.  So now to my question, what file do I have to change and what is the command to this in the php file? I would be really thankful if somebody could help me out with this issue.  Regards, David")* was created by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

Hello,
I want to add one or more additional fields in the Hikashop Backend (when adding OR editing a product).
By this I mean a field like the "price" section.
I have to add three fields, where the admin can type true (1) or false (0) to each field:

used, new (opened) and new

The data has to be inserted into the related database table.
I found out how to do this in a previous Hikashop version, but since they changed a part of the file structure, I cannot figure out how to implement this function anymore.

So now to my question, what file do I have to change and what is the command to this in the php file?
I would be really thankful if somebody could help me out with this issue.

Regards,
David

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

10 years 8 months ago [\#233927](#233927) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Admin Backend - Additional fields](/forum/31-development/883256-hikashop-admin-backend-additional-fields#233927 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  Hello, I want to add one or more additional fields in the Hikashop Backend (when adding OR editing a product). By this I mean a field like the &quot;price&quot; section. I have to add three fields, where the admin can type true (1) or false (0) to each field:  used, new (opened) and new  The data has to be inserted into the related database table. I found out how to do this in a previous Hikashop version, but since they changed a part of the file structure, I cannot figure out how to implement this function anymore.  So now to my question, what file do I have to change and what is the command to this in the php file? I would be really thankful if somebody could help me out with this issue.  Regards, David")*

Hi,

What change did you do before ?
To add your HTML to the view, you can edit the file "form" of the view "product" via the menu Display&gt;Views.
And to handle the saving of your fields, you can create a plugin of the type hikashop and implement the trigger onAfterProductUpdate and onAfterProductCreate. In them, get the data from the $_POST and save it in the hikashop_related table with a MySQL query.

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

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