Differentiate Customers and Vendors on front-end

  • Posts: 634
  • Thank you received: 16
7 years 8 months ago #248270

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1 Multivendor
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6.10
-- Browser(s) name and version -- : Google Chrome 52.0.2743.116 (64-bit)

Hi,

When showing a "Vendor Customer Listing" on a front-end view, it show me all the users, including the ones that have related a vendor, but they are not going to use the account like a customer, only like a vendor.

Is it possible to differentiate users when they are associated to a vendor in the front-end?

I need to create a front-end view with the "Vendor Customer Listing" menu but i don't want the vendors to get listed, only customers.

Is it possible to set up this in the configuration tabs, or shall i create my custom override to include a filter?

Thanks in advance.

-- Víctor

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 7 months ago #248271

Hi,

The "vendor custom listing" will display the vendor customers.
If you're login with the "main vendor" you will see all customers, like in the HikaShop backend.
Otherwise, it will only display the vendor customers, thanks to the links in the table "hikamarket_customer_vendor".

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PeterChain

Please Log in or Create an account to join the conversation.

  • Posts: 634
  • Thank you received: 16
7 years 7 months ago #248332

Thanks a lot.

-- Víctor

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.063 seconds
Powered by Kunena Forum