Skip to main content

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

More
12 years 2 months ago - 12 years 2 months ago #164531 by praes
-- 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: 12 years 2 months ago by praes.

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

More
12 years 2 months ago #164560 by Jerome
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
Code:
$mainVendor = false;
You can simply replace it by
Code:
$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.
The following user(s) said Thank You: praes

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

More
12 years 2 months ago #164602 by praes
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.177 seconds
Powered by Kunena Forum