register vendor using vendor edition form

  • Posts: 108
  • Thank you received: 6
9 years 4 months ago #178019

Hi,

I am looking to provide 2 registration options for new ppl to my site:

1. become a user only - I have them using the hikashop registration page, and in hikamarket I have the shop registration to "automatic validation", so the user will have the option to become a vendor later. (working fine)

2. I would also like the option whereby a user could become a vendor in a single step. Is there a way a version of the vendor edition form could be offered to a new visitor to the site which also includes user/password etc?

the reason is I would like a user to sign up without having to worry about any of the information required for a vendor

secondly I would like a vendor to be able to sign up with one step including the fields (such as paypal address) which I have set to appear on the vendor edition page. currently I can show the vendor edition form to a new visitor but it cant register that user directly (due to not being able to enter a username/password)

Just wondering what the best way to achieve this is?

thanks

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178035

Hi,

When you create a new thread, it can be useful to provide the basic information like your HikaShop and HIkaMarket version number.

Because, in the latests versions, the HIkaMarket vendor registration handle different kind of registration depending if the user is logged or not.

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: 108
  • Thank you received: 6
9 years 4 months ago #178051

Hi Sorry,
I am running:
hikashop 2.3.4
hikamarket: 1.4.4

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178075

Hi,

So you have the vendor registration which handle the two modes (when a user is logged and not logged).

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: 108
  • Thank you received: 6
9 years 4 months ago #178152

the manual says that automatic validation will allow a registered user to "upgrade" themselves to a vendor. this works great and is perfect for visitors to the site wishing to become customers

I was wondering if it were possible to simultaneously (by any method, menu etc) offer a guest visitor of the site to register to become a vendor (without having to go through the process of becoming a registered user) and then upgrading to a vendor with a further step. The 2-step process (with 2 logouts) was definitely too much for most people wishing to sell.

This way I can offer a smooth 1-step registration for people wishing to become vendors, and they can fill out the required info when registering (rather than having to go into into their account later on and search for info).

And at the same time offer a simplified registration for those wishing to just become customers (and not worry about vendor details in the form)

IF this is not possible I think an alternative path is to use the Vendor Automatic Creation option but perhaps have a checkbox/option in the registration form for guests wishing to become vendors which when selected redirects the login process straight to the hikamarket registration form before or after logging in - so the user is forced to fill this out before adding any products.

alternatively welcome for any suggestions to eliminate unnecessary information for guests wishing to become customers, and make the process as simple and foolproof as possible for guests wishing to become vendors (and sell products)

thanks:)

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178162

Hi,

So, once again ; if you have a vendor registration menu in your website, you can now display it when you are a guest.
Before it was not possible ; the page redirected you to the Joomla login page.
But in HikaMarket 1.4.2 the vendor registration can also make the Joomla+HikaShop+HikaMarket registration in a single page.
www.hikashop.com/support/documentation/1...arket-changelog.html

Vendor registration also allow the user registration


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: 108
  • Thank you received: 6
9 years 4 months ago #178508

thats great!

I noticed I could present the vendor edition form to a guest, however it did not include the joomla/hikashop part i.e. password/name etc and hence threw up an expected error when filling out.

as where I should look to add this?

thanks

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178515

Hi,

In the HikaShop options, tab "market", section "registration options" you will find the different elements like:
- Ask for a password
- Email will be username

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: 108
  • Thank you received: 6
9 years 4 months ago #178547

yes I had those set already

although I have noticed no change in the form whether I set them on or off

you can see it at dev.siftmrkts.com/home/setup-shop-sell

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178581

Hi,

Just to be sure ; you don't have override for the "vendormarket | registration" view ?

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: 108
  • Thank you received: 6
9 years 4 months ago #178872

thanks yes that solved it.

neat feature that it knows whether you are a guest or registered user too!!

only thing is the "name" field is still showing (when viewing as guest) despite setting the "email as username" on.'

when I view the hikashop register form as guest it does not show the "name" field. I presumed this was the form hikamarket was appending to the top of its register form?

if its showing the Joomla registration here should I just hide the "name" field in the registration view?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178873

Hi,

The "name" and the "username" are two different things.
If the email is the username ; it won't be the vendor name.
That's why the "name" is asked.

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: 108
  • Thank you received: 6
9 years 4 months ago #178914

I did further testing and it seems it is the username it is asking for

It asks for the name (the vendor name) further down the page as expected - i understand this is different from the username.

I expected not to be asked for this field if email as username is set? (The hikashop registration form does not show the username field)

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178959

Hi,

Well, I'll see to add an option for that in the next release.
For the moment the best is to remove the content in the view "vendormarket | registration".

	<dt class="hikamarket_registration_name_line">
		<label for="register_name"><?php echo JText::_('HIKA_USER_NAME'); ?></label>
	</dt>
	<dd class="hikamarket_registration_name_line">
		<input type="text" id="register_name" name="data[register][name]" value="<?php echo $this->escape($this->mainUser->get('name')); ?>" class="inputbox required" maxlength="50"/>
	</dd>
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: 108
  • Thank you received: 6
9 years 4 months ago #179051

thanks, this removed the field,

but I still get an error "please enter a username" - it is obviously waiting for the name field to be still filled out but I thought setting "email as username" would mean this field is not required??

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #179085

Hi,

Can you please edit the file "administrator/components/com_hikamarket/classes/user.php" and replace

		if($config->get('registration_email_is_username', 0) == 1) {
			$registerData->username = $this->registerData->email;
		}
By
		if($config->get('registration_email_is_username', 0) == 1) {
			$registerData->username = $registerData->email;
		}
I think it should fix your issue.

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: 108
  • Thank you received: 6
9 years 4 months ago #179093

Hi,

its still giving me the same error after this change "please enter a username"

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #179145

Hi,

I created a ticket issue for HikaMarket.
Because it's a day off ; I am currently the only one who provide support in the forum (and by email) ; so I am sorry but I won't have the time to see that today. I hope that tomorrow when Xavier and Mohamed will come back I will have the possibility to see that.

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: 108
  • Thank you received: 6
9 years 4 months ago #179195

Thanks Jerome, no problems

Just a side-question: is it possible to add the vendor image into the vendor edition form? Its not a custom field, but is there a another place we can dictate where this shows?

thanks

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

  • Posts: 108
  • Thank you received: 6
9 years 4 months ago #179221

also,

I notice that the vendor edition form requires two contact emails (one for hikashop & one for hikamarket).

is there an easy way to customise the form so the customer only has to fill the contact email out once?

thanks,

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

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