[RESOLVED] Vendors not working in HikaMarket

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #240814

-- url of the page with the problem -- : www.safehomesreport.com
-- HikaShop version -- : 3.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : I'm not able to see any users to add them to the vendor

Hi,
I'm new to HikaMarket and I am trying to associate my vendors to their products, but the vendor feature doesn't seem to be working. When I create the vendor records in HikaMarket--> Vendors there is NO option for administrators and there are no users available. When I click on the + to add users the system does nothing.

Attachments:
Last edit: 7 years 10 months ago by joyhanawa. Reason: updating subject

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

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

Hi,

I'm not able to reproduce your issue but I have an idea on what could be the source of the problem.
Can you please edit the file "administrator/components/com_hikamarket/classes/user.php" and replace

		$vendor_id = hikamarket::loadVendor(false);
		if($vendor_id > 1) {
By
		$app = JFactory::getApplication();
		$vendor_id = hikamarket::loadVendor(false);
		if($vendor_id > 1 && !$app->isAdmin()) {
So if your account is related to a vendor you won't have the customer restriction in the backend.

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

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #240822

OMG thank you. I spent hours on this. Once I was able to assign the account to be the administrator it worked!!!!!

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #240823

403 Access Forbidden
When clicking on the links in the dashboard most return blank pages, the products folder returns a 403 Access forbidden.

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.

Attachments:

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

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

Hi,

Please be sure that you have authorized the "front-end editing" in your HikaMarket general configuration.
www.hikashop.com/support/documentation/1...tml#config_main_main

I think that we will also block the vendor dashboard if the front-end editing is not activated ; because it looks weird to have the dashboard without the sub sections.

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

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #240875

That fixed my problem. I intentionally turned off the front end editing so that my vendors wouldn't try to edit any articles etc... it looks like it is working now. Thank you again. (You may want to note it in the documentation).

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #240991

I am trying to add users to the vendor record, but every time I add and save they disappear.

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

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

Hi,

In which section do you add your users (front-end / backend) ?
Can you reproduce the reproduce the issue in the HikaShop demo website ?
If so, can you please describe the process you're following ?

Please note that in the case when the user already link with another vendor, the vendor saving should not move the user from a vendor account to another.
In the front-end, the addition of a user requires the email of an existing Joomla user. Because it's not obvious we added an info icon with a tooltip and some explanations ; and like in the backend, if the user is already linked, it can't save it a second time.

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.

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #241017

Hi,
Backend and yes, I just reproduced on the demo site as best I could. I could not create a user so I used one that already existed.
Here's my steps.
backend
Users-->Manage--> New User: Create a user and assign the user to my custom ACL group "Agency".
Components-->HikaMarket-->Vendors: Create a new vendor and assign the vendor user account as the administrator... let's say it's vendor1.
Go to the add users section and then I tried to add another user in the demo site the only option I had was the demo user... Clicked on save, but it did not save.
You gave me some code last week, so I actually see all my users in the list, which is a good thing and what I want, it's just not saving the user I selected.

Last edit: 7 years 10 months ago by joyhanawa. Reason: added more info

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

  • Posts: 36
  • Thank you received: 1
7 years 10 months ago #241022

Here's what my problem was. I was adding the user from the drop list, but not clicking the green button. I assumed since the user was listed that I was done adding. Once I did the additional step of clicking the green button, the user stayed.

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

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