Main Vendor listed in Back-End Vendor list

  • Posts: 62
  • Thank you received: 1
8 years 8 months ago #232643

-- HikaShop version -- : 2.6.1
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome 48

I have put the option for showing the Main Vendor in the Vendor Listing. But it seems it only adds the main vendor to vendor listing on the front-end. Is it possible to show it at the back-end listing as well?

To clarify, I wish to have the Main Vendor also visible and listed on this page in the back-end:
/administrator/index.php?option=com_hikamarket&ctrl=vendor
as well as on the front-end.

I hope you can help me out!

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 8 months ago #232652

Hi,

Yes the setting to show the main vendor in the vendor listing is only for the front-end.
Because the main vendor is a special vendor ; you can configure it in the HikaMarket configuration but there is no directly link in the backend vendor listing.
In the file "administrator/components/com_hikamarket/views/vendormarket/view.html.php" you will find the code

if(!$mainVendor)
	$filters[] = 'a.vendor_id > 1';
And if you remove/comment it ; the main vendor won't be skip anymore in the backend vendor listing.

Please note that it is not done using an override but by modifying a core file ; so you will loose your modification in the next HikaMarket update.

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: nuntius

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

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