Public Ticket #3219445

B2b register form

Closed
Comments
7 Tickets
Gentrit started the conversation 4 years ago on January 30, 2023 at 11:29am

Hello,

I would like to ask you how it is possible to present only the B2B registration form on a separate page?

See the attached photo. Once the standard registration form is presented, as an individual customer, and then the B2B account can be selected.
What I am looking for is this: to present only the B2B registration form?

I used these codes but not exactly what I want:
[b2bking_b2b_registration]
[b2bking_b2b_registration_only] - setting group ID

I look forward to your reply please - as you have done before
Thank you very much.

Sincerely,
Gentri Xhemajlaj

2,762
KingsPlugins replied 4 years ago on January 30, 2023 at 11:35am

Hi Gentri,

Usually we would use the [b2bking_b2b_registration_only] shortcode for that purpose.


I am looking at your image here:

4677691960.png


Please clarify for me, is the problem that you still have the "User Type" dropdown on the left of the page?

Or is the problem you have the right side area?

What exactly are you trying to change when using this [b2bking_b2b_registration_only] shortcode?


Kind regards,

Stefan


7 Tickets 3
Burak Tuncer replied 4 years ago on January 30, 2023 at 11:48am

I added this little js code for solving problem in registration page. If you want to try, i edited the code for your site;

let marketking_registration_options_dropdown = document.getElementById('marketking_registration_options_dropdown')
let children = Array.from(marketking_registration_options_dropdown.children)
children.forEach((x)=>{ x.innerText.includes("Klient Individual") && marketking_registration_options_dropdown.removeChild(x) });


1
7 Tickets 3
Burak Tuncer replied 4 years ago on January 30, 2023 at 12:00pm

You can add javascript code in specific page with essential addons plugin. I added this code to vendor registration page. 

Similarly, you can hide the vendor registration option on the customer registration page.

Sign In