Skip to main content

Differentiate Customers and Vendors on front-end

More
10 years 1 month ago #248270 by PeterChain
-- 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.

More
10 years 1 month ago #248271 by Jerome
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.
The following user(s) said Thank You: PeterChain

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

More
10 years 1 month ago #248332 by PeterChain
Thanks a lot.

-- Víctor

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

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