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

#   Vendor Page Menu Item without VendorID in second tab

##

- **[flexsus](/forum/user/39807-flexsus "View flexsus's Profile")**
- [![flexsus's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39807.jpg)](/forum/user/39807-flexsus "View flexsus's Profile") Topic Author
- [ Offline](/forum/user/39807-flexsus)

Less More

- Posts: 136
- Thank you received: 7
-
-
-

10 years 1 month ago [\#251599](#251599) by [flexsus](/forum/user/39807-flexsus "View flexsus's Profile")  *[Vendor Page Menu Item without VendorID in second tab](/forum/19-hikamarket/886758-vendor-page-menu-item-without-vendorid-in-second-tab#251599 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : all  Hi I made a menu item to Vendor Page. I did not set VendorID on second tab, as I do no want the menu item to go to an exact Vendor. I have restricted this menu to only Author (vendors) and named it &quot;My Vendor Profile&quot;. This works perfect for now, since it show current logged in Vendor page aka &quot;My Vendor Page&quot;. A way for the Vendor to show how his Vendor Page looks to HikaShop Users.  In a support mail you said: We will see to add a patch in HikaMarket in order to avoid that issue. But by definition the menu configuration is not completed.  I don't want this patch ;) This will break my menu item.  I have looked at /vendormarket/show.php What can I add, so that if this config in menu item is empty, then if logged in vendor, show 'showcontainer&#95;'  I don't know if this is a none-feature request :-)")* was created by *[flexsus](/forum/user/39807-flexsus "View flexsus's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : all

Hi
I made a menu item to Vendor Page. I did not set VendorID on second tab, as I do no want the menu item to go to an exact Vendor.
I have restricted this menu to only Author (vendors) and named it "My Vendor Profile". This works perfect for now, since it show current logged in Vendor page aka "My Vendor Page". A way for the Vendor to show how his Vendor Page looks to HikaShop Users.

In a support mail you said:
*We will see to add a patch in HikaMarket in order to avoid that issue. But by definition the menu configuration is not completed.*

I don't want this patch ![;)](/media/kunena/emoticons/24.png ";)")
This will break my menu item.

I have looked at /vendormarket/show.php
What can I add, so that if this config in menu item is empty, then if logged in vendor, show 'showcontainer_'

I don't know if this is a none-feature request ![:-)](/media/kunena/emoticons/3.png ":-)")

---

.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

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

10 years 1 month ago [\#251601](#251601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor Page Menu Item without VendorID in second tab](/forum/19-hikamarket/886758-vendor-page-menu-item-without-vendorid-in-second-tab#251601 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : all  Hi I made a menu item to Vendor Page. I did not set VendorID on second tab, as I do no want the menu item to go to an exact Vendor. I have restricted this menu to only Author (vendors) and named it &quot;My Vendor Profile&quot;. This works perfect for now, since it show current logged in Vendor page aka &quot;My Vendor Page&quot;. A way for the Vendor to show how his Vendor Page looks to HikaShop Users.  In a support mail you said: We will see to add a patch in HikaMarket in order to avoid that issue. But by definition the menu configuration is not completed.  I don't want this patch ;) This will break my menu item.  I have looked at /vendormarket/show.php What can I add, so that if this config in menu item is empty, then if logged in vendor, show 'showcontainer&#95;'  I don't know if this is a none-feature request :-)")*

Hi,

Sure.
After sending my message I take a further look in the code.

In the vendor controller you will see that there is some code which read the "vendor id" from the menu parameters.
And if there is no "vendor id" in the menu, it will use the logged vendor.
That feature won't be removed ; we just want to add improvements, not rollbacks ![:)](/media/kunena/emoticons/3.png ":)")
And I have to admit that I forgot about that behavior.. Too much code lines in my head !

But, if the menu do not have restriction and the user is not logged has a vendor, HikaMarket should handle that specific case : By displaying the main vendor page for example.

Regards,

---

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

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

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

- **[flexsus](/forum/user/39807-flexsus "View flexsus's Profile")**
- [![flexsus's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39807.jpg)](/forum/user/39807-flexsus "View flexsus's Profile") Topic Author
- [ Offline](/forum/user/39807-flexsus)

Less More

- Posts: 136
- Thank you received: 7
-
-
-

10 years 1 month ago -  10 years 1 month ago [\#251621](#251621) by [flexsus](/forum/user/39807-flexsus "View flexsus's Profile")  Replied by *[flexsus](/forum/user/39807-flexsus "View flexsus's Profile")* on topic *[Vendor Page Menu Item without VendorID in second tab](/forum/19-hikamarket/886758-vendor-page-menu-item-without-vendorid-in-second-tab#251621 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : all  Hi I made a menu item to Vendor Page. I did not set VendorID on second tab, as I do no want the menu item to go to an exact Vendor. I have restricted this menu to only Author (vendors) and named it &quot;My Vendor Profile&quot;. This works perfect for now, since it show current logged in Vendor page aka &quot;My Vendor Page&quot;. A way for the Vendor to show how his Vendor Page looks to HikaShop Users.  In a support mail you said: We will see to add a patch in HikaMarket in order to avoid that issue. But by definition the menu configuration is not completed.  I don't want this patch ;) This will break my menu item.  I have looked at /vendormarket/show.php What can I add, so that if this config in menu item is empty, then if logged in vendor, show 'showcontainer&#95;'  I don't know if this is a none-feature request :-)")*

Hi Jerome
Then everything is working exactly as I would like! And will continue that way ![:-)](/media/kunena/emoticons/3.png ":-)")
For Vendors, this menu item will work as "My Vendor Page".

Thank you!

Regards,
Henrik

---

.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

Last edit: 10 years 1 month ago by [flexsus](/forum/user/39807-flexsus "View flexsus's Profile"). Reason: Precision

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

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