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

#  Profile for mortezafs

##

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

**[ Offline](/forum/user/67563-mortezafs)**

- **User Type:** User

- **Register Date:** 25 Jul 2022
- **Last login:** 2 years 4 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 00:21

- **Posts:** 2
- **Profile views:** 34
- **Thank you received:** 2

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  mortezafs recent posts  (2 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533) | [Add some extra field to category admin page by plugin](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533 "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.1 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Mozila FireFox  Hi. I wan't to add some extra field in admin create/edit category form. I wrote a plugin to add some, but there is not useful event for adding fields to form. Anybody can give some guidance on how to add some new fields to the category fields using the plugin?  By regard.")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 4 years 4 months ago, by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile")       [Last Post](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533 "Thank you for your help but i read this documentation before i create this topic. In this duration to you response i found a solution. I'll share it with you. maybe someone need it in the feature.  I simulated the process of creating hikashop's custom fields in the plugin. 1- First of all you need create columns with name of your field in hikashop category table (#&#95;&#95;hikashop&#95;category) 2- Then you need append the fields you want to create with bellow structure to the $viewObj-&gt;fields array in onHikashopBeforeDisplayView event. Note: The structure is the same for all type of field but there is some change with field type like singledropdown or textbox , ... You can find more about the fields type special serialized data by creating filed in hikashop custom filed and looking to the #&#95;&#95;hikashop&#95;field table. it so important to know the array key in $viewObj-&gt;fields is your field name and value should be an object.  The structure:") 4 years 4 months ago     by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile") | Replies:2  Views:613 | [Last Post](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533 "Thank you for your help but i read this documentation before i create this topic. In this duration to you response i found a solution. I'll share it with you. maybe someone need it in the feature.  I simulated the process of creating hikashop's custom fields in the plugin. 1- First of all you need create columns with name of your field in hikashop category table (#&#95;&#95;hikashop&#95;category) 2- Then you need append the fields you want to create with bellow structure to the $viewObj-&gt;fields array in onHikashopBeforeDisplayView event. Note: The structure is the same for all type of field but there is some change with field type like singledropdown or textbox , ... You can find more about the fields type special serialized data by creating filed in hikashop custom filed and looking to the #&#95;&#95;hikashop&#95;field table. it so important to know the array key in $viewObj-&gt;fields is your field name and value should be an object.  The structure:") by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile")      4 years 4 months ago |
| [](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343470) | [Add some extra field to category admin page by plugin](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343470 "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.1 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Mozila FireFox  Hi. I wan't to add some extra field in admin create/edit category form. I wrote a plugin to add some, but there is not useful event for adding fields to form. Anybody can give some guidance on how to add some new fields to the category fields using the plugin?  By regard.")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 4 years 4 months ago, by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile")       [Last Post](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533 "Thank you for your help but i read this documentation before i create this topic. In this duration to you response i found a solution. I'll share it with you. maybe someone need it in the feature.  I simulated the process of creating hikashop's custom fields in the plugin. 1- First of all you need create columns with name of your field in hikashop category table (#&#95;&#95;hikashop&#95;category) 2- Then you need append the fields you want to create with bellow structure to the $viewObj-&gt;fields array in onHikashopBeforeDisplayView event. Note: The structure is the same for all type of field but there is some change with field type like singledropdown or textbox , ... You can find more about the fields type special serialized data by creating filed in hikashop custom filed and looking to the #&#95;&#95;hikashop&#95;field table. it so important to know the array key in $viewObj-&gt;fields is your field name and value should be an object.  The structure:") 4 years 4 months ago     by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile") | Replies:2  Views:613 | [Last Post](/forum/26-product-category-display/904774-add-some-extra-field-to-category-admin-page-by-plugin#343533 "Thank you for your help but i read this documentation before i create this topic. In this duration to you response i found a solution. I'll share it with you. maybe someone need it in the feature.  I simulated the process of creating hikashop's custom fields in the plugin. 1- First of all you need create columns with name of your field in hikashop category table (#&#95;&#95;hikashop&#95;category) 2- Then you need append the fields you want to create with bellow structure to the $viewObj-&gt;fields array in onHikashopBeforeDisplayView event. Note: The structure is the same for all type of field but there is some change with field type like singledropdown or textbox , ... You can find more about the fields type special serialized data by creating filed in hikashop custom filed and looking to the #&#95;&#95;hikashop&#95;field table. it so important to know the array key in $viewObj-&gt;fields is your field name and value should be an object.  The structure:") by [mortezafs](/forum/user/67563-mortezafs "View mortezafs's Profile")      4 years 4 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

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