OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Modification in the identification of the front-end user

This topic contains 3 replies, has 2 voices, and was last updated by  msalmi.kais 4 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #32895

    msalmi.kais
    Participant

    • orocommerce 1.4
    • apache2.4/php 7/mysql

    Hello,
    I have a major modification in the identification of the front-end user:
    I have to force identified users who have not filled in the company’s personal field to redefine them into a personalized complete form.
    meanwhile, he can not make orders, quote …….
    what is the good practice to do it?
    should I create a new role instead of “ROLE_FRONTEND_BUYER” and assign it when registering a new client?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #32896

    Michael
    Keymaster

    Clearer separation between different customer types is in on the product roadmap, so I may share some of the initial thoughts about the way that we will be approaching this feature:

    * Customer Type field on the Customer entity – basically this is what will allow to apply different settings based on its value.

    * Different registration forms for businesses and individuals (the forms can be shown on separate pages, as well as side by side on the same page – this will be a configuration option for the default theme)

    * Each registration form contains may include different additional required and optional fields (e.g. the “Company Name” will be required on the business registration form).

    * When the Customer entity is created, it’s “Type” field value is set based on what form was submitted (backoffice users will simply be able to choose the Type when creating a new customer record).

    * Customer user roles will also have the “Customer Type” field. Only the “Individual” customer user roles can be assigned to “Individual” customers and vice versa.

    * By default out of the box there will only be one “Invidividual Buyer” predefined role available out of the box for “Individual” type (unlike two roles – “Administrator” and “Buyer” – that we have for business customers).

    * Default customer user role, default owner, etc. will be configurable separately for different customer types in system configuration.

    * Various templates, grids and menus will be adjusted not to show “Customer” or “Customer User” fields when the current user belongs to Customer with Type=Individual.

    All this may change, of course, but apparently the approach you are taking is similar to what we would have done ourselves.

    #32897

    msalmi.kais
    Participant

    Thank you for your help,
    Following your recap then I want to know how to customize the registration form of a new “Customer Users” in the front-end:

    • I want to add fields to the entity “Accounts” and editable when saving.
    • toggle the form in side by side mode.

    Thank you

    #32898

    msalmi.kais
    Participant

    i mean

    • I want to add fields to the entity “customer” and editable when saving.
    • toggle the form in side by side mode.
    • how to change the different types of registration forms

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top

You will be redirected to [title]. Would you like to continue?

Yes No

You will be redirected to [title]. Would you like to continue?

Yes No