Hika registration - advice needed.

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #141429

Hello hika team,

My client wants to provide the ability that customers can register as "private" and "business", the idea behind that he would like to sell electronics imported from China in bulk at different prices to the business ACL group.

To my knowledge there is no such functionality out of the hika box yet, however I believe what my client asks for is not that far fetched.

With hikashop business, I believe, you can manually create an ACL group and apply different rules for that group, like prices, discounts all in all change every hika setting if you wished to (correct me please if I am assuming wrong) for that group. So from an administration point of view what is demanded is provided by hikashop.(correct me if I am wrong again).

The real issue for me is, is it possible to create a registration page that through a radio button, check box etc. , will automatically assign that customer to the business acl group? For example if you created a custom field in the registration form that will tell the component to which group to assign the client?

Option number 2, duplicate the registration form in a tabbed view using the already implemented bootstrap in joomla. One tab for private and one tab for business.

I would like if you can provide me with some insights on how viable each option is and also maybe point out other ways that this might be achieved.

Many thanks.

Kind Regards,

Drago

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #141676

Hello Drago,

The real issue for me is, is it possible to create a registration page that through a radio button, check box etc. , will automatically assign that customer to the business acl group? For example if you created a custom field in the registration form that will tell the component to which group to assign the client?

Using the User Group FTW For Hikashop plugin will probably do the job.

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

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #141730

Hi Mohamed,

This looks like will do the job. Thanks. I will test and report the results.

Kind regards,

Drago.

The following user(s) said Thank You: Mohamed Thelji

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

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #141877

Hi,

The plugin you pointed me to works as intended, at this moment exactly what I need.

There is one oddity though, which I can't figure out why it is happening.

After I register an account from my custom group, the account is being logged in after the registration redirect. ( paiter.nl/en/register/checkout/activate_page )

I don't want logged in users to see the registration page, which is why it is set to "guest" ACL. However with the automatic log in it prompts the message for activation and an error message saying you are not authorized to see the page.

Note: Actual account is not activated but logged in somehow.

You can test it here: paiter.nl/en/register

Any ideas, what triggers this behaviour?

I sent a request to the FTW developer for comment as well, since I strongly believe the issue lies within the FTW plugin. The original "registered" group registers without any issues.

Kind regards,

D. Hristov.

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

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #141911

[SOLVED]

The support from FTW extensions, has resolved the issue.

It was a minor bug.

They are providing a new version with the fix

The following user(s) said Thank You: nicolas

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

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #143703

Hello again,

Now that users can register under the "business" group, there is the requirement that after you select the "business" option from the dropdown, extra fields appear.

Client wants to collect information like:
- VAT numbers
- Chamber of commerce registration numbers
- Surely plenty more other stuff.

Question:
- How do I make custom fields appear and disappear, based on what kind of choice the user made?

Based on my research, I dug out a forum post asking a similar question. The method proposed there was to use javascript to reveal and hide the custom fields.

The forum post was posted in 2011. Is the proposed javascript method still the way to go or there is a method that can be achieved through the hika back end?

Kind regards,
Drago.

P.S.
I tried to find the forum post for reference and link it. I could not find it again. Can't remember what search terms I used. I do not keep browser history.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #143761

Hi,

No need to custom code.
Simply create custom user fields for that information and use the "Display limited to" option of the custom fields to only display for a specific value of that group option.

The following user(s) said Thank You: Hristov

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

  • Posts: 57
  • Thank you received: 5
10 years 9 months ago #143886

Hi Nicolas,

I feel stupid now, that it was so easy. I should have read the documentation in more detail, however with delivery deadlines and pressure I sometimes turn to the dark side :blush: .

Second, kudos to you for replying at 1:30 AM.

Thanks again.

Regards,
Drago.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum