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

#   Display default vendor page after user connection

##

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 7 months ago [\#234350](#234350) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234350 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")* was created by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")*

-- HikaShop version -- : 2.6.1
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.4.8

Hi,

I've already written a plugin which attribute a default vendor to a user.
I configured the rights and group so the user can only see the products of this vendor.
The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.

Now, I want to display the vendor description page.
I know that I can display the vendor description with thisURL "[ test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias](http://test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias)".
But I want to display, after user login, the description of the default vendor for this user.
How can I do that?

I also see the "Hika market" module, which let us display the list of vendor.
I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODgzMzc4LWRpc3BsYXktZGVmYXVsdC12ZW5kb3ItcGFnZS1hZnRlci11c2VyLWNvbm5lY3Rpb24/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 7 months ago [\#234373](#234373) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234373 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")*

Hi,

It really depends of what you want to do with your customer and where you want to display that information.
Do you want to redirect the user once the log-in ? Or on a specific page ?

Without that kind of information I'm afraid that I won't be able to provide you any tip to help you.
We first need to know what you're doing and what kind of action you want to do. The "display of the vendor description" is just a tiny rock in the mountain.

The usage of a custom module to display the default vendor description is one solution ; but it would be easier to have your own module that using the hikamarket one (which allow to display an HikaMarket view in the module).

Regards,

---

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

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 7 months ago [\#234529](#234529) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234529 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")*

Hi,

I will try to be more clear ...
I want that the user, just after login, is redirect to a page written by its default vendor (and not by another vendor).
This page could be an article or the description of the vendor, no matter.
By this way, the vendor can introduce itself, and why not propose some promotions.

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODgzMzc4LWRpc3BsYXktZGVmYXVsdC12ZW5kb3ItcGFnZS1hZnRlci11c2VyLWNvbm5lY3Rpb24/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 7 months ago [\#234638](#234638) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234638 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")*

Hi,

In that case I would recommend you to use a custom "user" plugin.
[ docs.joomla.org/Plugin/Events/User/en#onUserAfterLogin](https://docs.joomla.org/Plugin/Events/User/en#onUserAfterLogin)
You can use the JApplication redirection (or use the one to redirect after the processing of the page) in order to send the customer to the vendor page.
For sure, that kind of plugin should only do his job in the front-end and for customer accounts.
After that you can improve the system to check if the login already have a "after redirect" value (if the user was in the login page due to a restricted access page).

Regards,

---

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

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 7 months ago [\#234783](#234783) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234783 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")*

Hi,

Thanks for your answer.
I will write the plugin.
There was a second question in my topic:
I was able to restrict access to categories et products own by the default vendor.
But the user can see the list of all vendor.
How could I restrict access for a user to see only the default vendor?

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODgzMzc4LWRpc3BsYXktZGVmYXVsdC12ZW5kb3ItcGFnZS1hZnRlci11c2VyLWNvbm5lY3Rpb24/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 7 months ago [\#234793](#234793) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Display default vendor page after user connection](/forum/19-hikamarket/883378-display-default-vendor-page-after-user-connection#234793 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8  Hi,  I've already written a plugin which attribute a default vendor to a user. I configured the rights and group so the user can only see the products of this vendor. The vendor ID is stored in a user personnalized field and the user has only the right to see the product of this vendor.  Now, I want to display the vendor description page. I know that I can display the vendor description with thisURL &quot;  test.debienne.fr/index.php/page-vendeur/vendor/show/vendoralias &quot;. But I want to display, after user login, the description of the default vendor for this user. How can I do that?  I also see the &quot;Hika market&quot; module, which let us display the list of vendor. I would like that my client can see only specific vendors in this list, as currently my client can only see the product of this specific vendor.  Regards,")*

Hi,

Sorry, I missed that point.
Another solution is to completely remove the access on the vendor menus but use a Joomla page with a module.
With a module, you can see to call an HikaShop/HikaMarket view ("mod_hikashop" and "mod_hikamarket" are working like that) so you can display a specific vendor page into that module.

Regards,

---

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

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

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