Multi levels of registration?

  • Posts: 8
  • Thank you received: 1
  • Hikamarket Frontedition Hikashop Business
2 weeks 6 days ago #371443

-- HikaShop version -- : 6.4.0
-- Joomla version -- : 5.4.4
-- PHP version -- : 8
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : No error - question

Currently, we have a store set up for wholesale customers and it uses the "Redirect Joomla registration to HikaShop plugin". Registration for wholesale requires a lot of business info which I have already set up.

We want to add a retail option that only asks for the normal registration information (username, password, etc.). I know how to set up product pricing, etc., and have already assigned a user group that is separate.

How do I set up an option for someone to register as either a wholesale or a retail customer, and then follow the appropriate login process? Or for that matter, allow registration for the other parts of the site (not yet added) that apply only to retail customers that may or may NOT use Hikashop?

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

  • Posts: 85546
  • Thank you received: 13993
  • MODERATOR
2 weeks 6 days ago #371454

Hi,

You can achieve this with HikaShop's custom field conditions. Here is the approach:

1. Create a custom field of type "dropdown" on the address (for example "Customer type") with two values: "Retail" and "Wholesale".

2. On each of your business-specific custom fields (company name, tax ID, etc.), go to the "Display limited to" option and select your "Customer type" field as the parent field, then select the value "Wholesale". This way, these fields will only appear when the customer selects "Wholesale" in the dropdown. You can find more details about this option in our documentation:
www.hikashop.com/support/documentation/4...shop-field-form.html

3. When a customer selects "Retail", they will only see the basic fields. When they select "Wholesale", the additional business fields will appear dynamically.

For automatically assigning the correct Joomla user group at registration, you can use the "User group on registration" setting in HikaShop's System > Configuration, under the Checkout tab.
www.hikashop.com/support/documentation/5....html#checkout_login

For the non-HikaShop areas of your site, we would recommend keeping the "Redirect Joomla registration to HikaShop" plugin active everywhere so that all registrations go through the same HikaShop form. Retail customers will have a simple form since the wholesale fields will be hidden.

The following user(s) said Thank You: lkhightower

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

  • Posts: 8
  • Thank you received: 1
  • Hikamarket Frontedition Hikashop Business
2 weeks 5 days ago #371463

Thank you for your response and I'm trying to digest all the information you've given.

You wrote: "1. Create a custom field of type "dropdown" on the address (for example "Customer type") with two values: "Retail" and "Wholesale".

I did as suggested with values set as "customer" and "practitioner" (where "customer" would replace "retail" in your example.

I've gone through the custom fields required for practitioners and reassigned as suggested.

"3. When a customer selects "Retail", they will only see the basic fields. When they select "Wholesale", the additional business fields will appear dynamically."

Where does this selection occur? I feel like I am missing something. The long form for practitioners still appears with the "Customer type" under the address section rather than as a precursor to the form. See attachment as well as the registration link: topstepusa.com/categories-listing/user/form

Attachments:
Last edit: 2 weeks 5 days ago by lkhightower. Reason: Included link

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

  • Posts: 85546
  • Thank you received: 13993
  • MODERATOR
2 weeks 5 days ago #371466

Hi,

The fields you previously created are of the table "user". So, you need to create a field of the table "user" for the customer type.
That way, when you edit your existing fields, you can use the "Display limited to" setting I was talking about to select the customer type field and the corresponding value, so that it only appears based on the selected value in the customer type.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum