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

#   Remove Product Category from upload form

##

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago -  13 years 4 months ago [\#113109](#113109) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  *[Remove Product Category from upload form](/forum/23-market-how-to/85056-remove-product-category-from-upload-form#113109 "Under the Product Categories Section on the new product form. It defaults a Product Category, I have Sub-Categories under the Product Category Folder. I would like to remove the default Product...")* was created by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")*

Under the Product Categories Section on the new product form. It defaults a Product Category, I have Sub-Categories under the Product Category Folder. I would like to remove the default Product Category and have the option to only select from the sub categories.

Last edit: 13 years 4 months ago by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#113167](#113167) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Remove Product Category from upload form](/forum/23-market-how-to/85056-remove-product-category-from-upload-form#113167 "Under the Product Categories Section on the new product form. It defaults a Product Category, I have Sub-Categories under the Product Category Folder. I would like to remove the default Product...")*

Hi,

I see what you want to do and I tried to found a simple solution.
The fact is, it requires modification in the "category type selector" itself ; by adding new parameters in some functions and give you the possibility to use them.
In the same way, it could be interesting to have an option to only select final nodes in the tree.

If you want, I can give you the modifications requires in the file "administrator/com_hikamarket/types/shop_category.php" in order to add your specific option.
With these modifications, you would be able to activate the option directly in the "productmarket &#124; form" view: Code:

echo $this-&gt;categoryType-&gt;displayMultiple('data[product][categories]', @$this-&gt;product-&gt;categories, '', $this-&gt;rootCategory /*, THE NEW OPTION HERE */);

By modifying a core file, you will have to be careful with updates, because HikaMarket updates will remove your modifications.
That's why I have to design it correctly and include the patch in HikaMarket too, so you will be compatible with updates (it would replace the file but with the same kind of modifications).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#113279](#113279) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Remove Product Category from upload form](/forum/23-market-how-to/85056-remove-product-category-from-upload-form#113279 "Under the Product Categories Section on the new product form. It defaults a Product Category, I have Sub-Categories under the Product Category Folder. I would like to remove the default Product...")*

That worked perfect and i have it saved in my Hika Folder for Core Updates. I was going to ask another question regarding the same area but i will open a separate thread for searching sake. Thanks Jerome , as always you are awesome!

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

- **[nossibe63](/forum/user/31216-nossibe63 "View nossibe63's Profile")**
- [![nossibe63's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31216.png)](/forum/user/31216-nossibe63 "View nossibe63's Profile")
- [ Offline](/forum/user/31216-nossibe63)

Less More

- Posts: 163
- Thank you received: 11
-
-

12 years 9 months ago -  12 years 9 months ago [\#145057](#145057) by [nossibe63](/forum/user/31216-nossibe63 "View nossibe63's Profile")  Replied by *[nossibe63](/forum/user/31216-nossibe63 "View nossibe63's Profile")* on topic *[Remove Product Category from upload form](/forum/23-market-how-to/85056-remove-product-category-from-upload-form#145057 "Under the Product Categories Section on the new product form. It defaults a Product Category, I have Sub-Categories under the Product Category Folder. I would like to remove the default Product...")*

Hi,

Can you tell me if this feature has been added ? I don't find it ... :blush:

Regards, Nossibe

Edit : Sorry, I just found in Market options &gt; Categories options &gt; Vendor defaut root category

Last edit: 12 years 9 months ago by [nossibe63](/forum/user/31216-nossibe63 "View nossibe63's Profile").

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/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)
