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

#   how to make a menu that will add product to one category only?

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#258401](#258401) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258401 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")* was created by *[ronron](/forum/user/40399-ronron "View ronron's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i make the "vendor product add" work for one category only?

sample

i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.

when i make a menu "Vendor product add" i want the menu to have something like:

menu = add product to main category and choose from sub category
menu = add product to sub cat 1 only
menu = add product to sub cat 2 only
menu = add product to sub cat 3 only

in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?

thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4MDc3LWhvdy10by1tYWtlLWEtbWVudS10aGF0LXdpbGwtYWRkLXByb2R1Y3QtdG8tb25lLWNhdGVnb3J5LW9ubHk/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 10 months ago [\#258402](#258402) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258402 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

Hi,

What I can recommend you is to perform a little customization for your HikaMarket "productmarket / form" view.
You can change how the category is manage in the view so, if there is a parameter in the URL (or in the form), it will set the category automatically as an hidden field (so the vendor won't see the field at all).

Thanks to that, you will be able to create different links for the product creation and pass each time the selected category ID.
For sure, it could be better to check the parameter to be sure that the vendor won't try to add the product anywhere (but HikaMarket already perform these check during the product save and will put the product in the vendor main category if there is a problem).

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#258418](#258418) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258418 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

thanks jerome

can you give me an example?

it would be great to automatically set the category for a product.

thanks again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4MDc3LWhvdy10by1tYWtlLWEtbWVudS10aGF0LXdpbGwtYWRkLXByb2R1Y3QtdG8tb25lLWNhdGVnb3J5LW9ubHk/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 10 months ago [\#258432](#258432) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258432 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

Hi,

Unfortunately, I cannot give you an example more precise ; it would be more like custom development than support on the usage of the software.
But what i can tell you is that it concern the block which start with Code:

if(@$this-&gt;product-&gt;product_type != 'variant' &amp;&amp; hikamarket::acl('product/edit/category')) { ?&gt;

and which use a namebox for the category selection.

Regards,

---

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

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 9 months ago [\#258845](#258845) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258845 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

thank you so much jerome.

with luck i got this work

my next issue is the category setting. i created categories and set the the user access to super administrator. unfortunately its still appearing in the front end for registered members.

how do i fix this?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4MDc3LWhvdy10by1tYWtlLWEtbWVudS10aGF0LXdpbGwtYWRkLXByb2R1Y3QtdG8tb25lLWNhdGVnb3J5LW9ubHk/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#258859](#258859) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258859 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

Hi,

You're talking about the HikaMarket category listing or the HIkaShop category listing ?

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 9 months ago [\#258928](#258928) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258928 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

hi

this is the menu link Vendor product add.

please see photo

[ ![Screenshot-super.png](/forum/attachment/35425) ](/forum/attachment/35425 "...shot-super.png")

- [ ![Screenshot-super.png](/forum/attachment/35425) ](/forum/attachment/35425 "...shot-super.png") [ ](/forum/attachment/35425?download=1 "...shot-super.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4MDc3LWhvdy10by1tYWtlLWEtbWVudS10aGF0LXdpbGwtYWRkLXByb2R1Y3QtdG8tb25lLWNhdGVnb3J5LW9ubHk/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#258930](#258930) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to make a menu that will add product to one category only?](/forum/23-market-how-to/888077-how-to-make-a-menu-that-will-add-product-to-one-category-only#258930 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  how do i make the &quot;vendor product add&quot; work for one category only?  sample  i have one main category with 3 sub categories named sub cat 1, sub cat 2 and sub cat 3.  when i make a menu &quot;Vendor product add&quot; i want the menu to have something like:  menu = add product to main category and choose from sub category menu = add product to sub cat 1 only menu = add product to sub cat 2 only menu = add product to sub cat 3 only  in this way the vendor can immediately click on the menu and add the product to a specific category and he wont be shown the rest?  thank you")*

[ www.hikashop.com/forum/19-hikamarket/888...n-the-front-end.html](https://www.hikashop.com/forum/19-hikamarket/888188-categories-with-super-user-access-still-appears-in-the-front-end.html)

---

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

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

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

[](#top)
