Okay
  Public Ticket #3219445
B2b register form
Closed

Comments

  • Gentrit started the conversation

    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

    Attached files:  Untitled-1-01.jpg
      Untitled-2-01.jpg

  •  1,906
    WebWizards replied

    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


  • Gentrit replied

    Thank you for your fast response.

    I think I fixed what I asked for.
    I needed a new page containing only the B2B registration form and I created this one: https://www.aktivhome.com/b2b-regjistrimi/

    Since B2B customers did not select the B2B registration form, they were mistakenly registered as a simple customer.

  •  1,906
    WebWizards replied

    Glad if that's resolved then, I see that page looks much better,


    If I can help with anything, please let me know!

  •  3
    Burak Tuncer replied

    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) });


  • Gentrit replied

    Where to put this code? In which part?

  •  3
    Burak Tuncer replied

    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.