Show main or own vendor (id = 1)in general listing

  • Posts: 44
  • Thank you received: 2
9 years 8 months ago #164531

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

Is it possible to show the main vendor in the vendor listing layout (i.e. com_hikamarket&view=vendor&layout=listing)? In my case this main vendor is being ignored. Only vendors with id > 1 are listed.

It will likely be a config option, but I can't find it... :(

Thaks, Jelger

Last edit: 9 years 8 months ago by praes.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 8 months ago #164560

Hi,

I used to add an option for that but, at the end, the option is not available.
So, in the file "components/com_hikamarket/view/vendormarket/view.html.php" you will find a line

$mainVendor = false;
You can simply replace it by
$mainVendor = true;
to include the main vendor in the listing.
I will put an option (so instead of a fixed value, it will read a configuration setting).
It will be fix in the next release (1.4.2)

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

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

  • Posts: 44
  • Thank you received: 2
9 years 8 months ago #164602

Thanks! Found it. Works for me.

Best, Jelger

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

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