Public Ticket #3405339

b2b registration redirects to b2c one

Closed
Comments
2,762
KingsPlugins replied 3 years ago on July 3, 2023 at 1:26am

Hi Grzegorz,

I checked your site - it seems there is some custom CSS on your site hiding the B2B area.


I believe you can follow these steps to solve it:

(1) In B2BKing -> Settings -> Registration disable this setting:

3219419778.png


(2) In B2BKing -> Registration Roles, disable all roles except the B2B one.


Kind regards,

Stefan

5 Tickets 3
Grzegorz replied 3 years ago on July 4, 2023 at 7:31pm

You were right about the css. 

I did as you wrote and for B2B users the billing checkout page seems to be the woocommerce default one. Is there on option for it to be the same form as the registration one?

2,762
KingsPlugins replied 3 years ago on July 6, 2023 at 5:54am

On the checkout page, our plugin cannot modify the existing billing fields - those are standard WooCommerce fields so we do not modify that area.

Our plugin can add custom additional fields (below the standard ones), but cannot modify the default ones.

5 Tickets 3
Grzegorz replied 3 years ago on July 10, 2023 at 4:21pm

I don't want to modify existing fileds.
The problem is I do not see custom b2bking fields at the checkout page. The fileds at checkout has different names than these at the registrations page.


Is the chcecout form different from the one at the registration page?



9318518310.png
3161241014.png
4607239348.png
2,762
KingsPlugins replied 3 years ago on July 11, 2023 at 11:16am

The checkout form and registration form are different, because at checkout many fields are added by WooCommerce directly.

The "company name" (nazwa firmy) field there is a WooCommerce field, so our plugin cannot edit it.


If you create a custom B2BKing field, when you edit that field you can scroll down and enable the "add custom field to billing" checkbox:

3821885053.png


Such custom fields are added to the end of the checkout page:

4194622273.png


Sign In