We need to activate B2B customers registration "approved before". https://ritualpet.com/shop-2/my-account/
When a B2B client try to register himslefs using the dropdown option "B2B Customer" at the end of the process he became a private customer and we do not receive any approvation request into the B2BKings Dashboard.
We do not have the same problem If we try the registration process during the checkout. In this case we have also the VAT validation field and the registration process is ok.
Could you please help me?
I'm following your documentation but I can't figure out this issue.
I checked the site and I made a test registration.
I think there is a conflict in the site, most likely with the theme (although it could be a plugin). Possibly what happens is that the theme uses "AJAX" registration.
Some thoughts on what you can do moving forward:
-> You can try to enable the default Storefront theme to see if you still get the issue. If it works with Storefront, then indeed it's a problem with the Molla theme I see you use. In that case, I'd suggest you look into the theme settings to see if there is an option to disable AJAX registration.
-> If it's not the theme, I'd also look at disabling all other plugins except B2BKing and WooCommerce and testing.
If you'd like, I can look into all this directly for you in your site. I would need a backend login to your site or staging site, so I can run some tests.
I checked the site and I can confirm it is a conflict with the Molla theme. I want to get this resolved for you and make sure the 2 work together correctly.
I have contacted the theme developers to work with them to see how this can be solved. I will get back to you here with another message as soon as I can. Thank you for your patience.
I believe I've found the issue, and after a minor modification to theme code it now appears to work correctly.
I also found a minor conflict with the "Maintenance" plugin. If the maintenance plugin is active, registration redirects to the Home / Front page. Normally (And with the plugin deactivated), it will show this message to let the user know they need to wait to be approved.
Let me know if all seems to work for you and if there's anything I can help with,
I tried to register an account now and I can see indeed nothing happens when clicking the signup button.
The console shows an error related to a Mailchimp plugin.
I think most likely there is some plugin conflict in the site - I believe this registration was working correctly when I last checked. I would suggest to disable all other plugins in the site to identify the conflict - in particular I'd look at the mailchimp plugin.
I can also look into it directly if you'd like - I'd need a backend login to the site or staging site.
Indeed, sorry, it seems I got a little confused myself.
The problem seems to be that the changes I made to the theme code last time were lost - Possibly because the theme was updated.
Normally I would not like to change the theme code directly, but there is no setting to disable ajax registration in the theme. The theme developers also told me there is no hook I can use, so the only option is to change the theme code.
I now made the changes again. The file is in wp-content/themes/molla/assets/js/main.js - the changes are commenting out this code: https://prnt.sc/1xmouh0
Seems to be working now again in my tests:
If you update the theme, you would need to make these changes again. Or it may work to create a child theme for a permanent solution.
Seems to be ok, but now I have another problem with the shipping costs.
I need to setup two different shipping method for B2C costumers and two different shipping method for B2B users. The customer can choose which of the two based on priority.
For B2C I need to set free shipping costs for orders over € 60,00
For B2B I need to set free shipping costs for orders over € 150,00
Shipping costs are based on costs based on different weight ranges. For this I use Flexible Shipping plugin.
Now the WooCommerce shipping configuration is this:
FOR B2C costumers:
Italia Zona A > - Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
Italia Zona B >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
FOR B2B costumers:
Italia Zona A >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
Italia Zona B >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
Following the documentation I setup the plugin as you can see in the attached screenshots.
I have two different problem:
1 - Some times, for B2b and B2c customer is it possibile to choose only Standard Shipping without the possibility to choose the Express Shipping. (If I disable the B2BKing plugin I have no problem)
2 - For B2B customers the shipping system with free shipping costs above 150 € does not work, calculating the free expenses like B2C customers (60 euros)
I have the same problem "The file is in wp-content/themes/molla/assets/js/main.js - the changes are commenting out this code" on mobile phone "Samsung S21 with Android 12" and Google Chrome
I have a problem with the registration form.
We need to activate B2B customers registration "approved before".
https://ritualpet.com/shop-2/my-account/
When a B2B client try to register himslefs using the dropdown option "B2B Customer" at the end of the process he became a private customer and we do not receive any approvation request into the B2BKings Dashboard.
We do not have the same problem If we try the registration process during the checkout. In this case we have also the VAT validation field and the registration process is ok.
Could you please help me?
I'm following your documentation but I can't figure out this issue.
And we do not have any "requires approval message"
Hi Mauro,
Thank you for purchasing our plugin,
I checked the site and I made a test registration.
I think there is a conflict in the site, most likely with the theme (although it could be a plugin). Possibly what happens is that the theme uses "AJAX" registration.
Some thoughts on what you can do moving forward:
-> You can try to enable the default Storefront theme to see if you still get the issue. If it works with Storefront, then indeed it's a problem with the Molla theme I see you use. In that case, I'd suggest you look into the theme settings to see if there is an option to disable AJAX registration.
-> If it's not the theme, I'd also look at disabling all other plugins except B2BKing and WooCommerce and testing.
If you'd like, I can look into all this directly for you in your site. I would need a backend login to your site or staging site, so I can run some tests.
Kind regards,
Stefan
Thank you for sharing the login,
I checked the site and I can confirm it is a conflict with the Molla theme. I want to get this resolved for you and make sure the 2 work together correctly.
I have contacted the theme developers to work with them to see how this can be solved. I will get back to you here with another message as soon as I can. Thank you for your patience.
Kind regards,
Stefan
Hi Mauro,
I believe I've found the issue, and after a minor modification to theme code it now appears to work correctly.
I also found a minor conflict with the "Maintenance" plugin. If the maintenance plugin is active, registration redirects to the Home / Front page. Normally (And with the plugin deactivated), it will show this message to let the user know they need to wait to be approved.
Let me know if all seems to work for you and if there's anything I can help with,
Kind regards,
Stefan
Hi guys. I still have a problem with the plugin.
it just doesn't work. I also disabled the Maintenance plugin.
Could you please help me?
Hi Mauro,
I tried to register an account now and I can see indeed nothing happens when clicking the signup button.
The console shows an error related to a Mailchimp plugin.
I think most likely there is some plugin conflict in the site - I believe this registration was working correctly when I last checked. I would suggest to disable all other plugins in the site to identify the conflict - in particular I'd look at the mailchimp plugin.
I can also look into it directly if you'd like - I'd need a backend login to the site or staging site.
Kind regards,
Stefan
I have also the same problem after disabling MailChimp plugin
Same problem after disabling all plugin excepted the core plugin required from Molla Theme.
On the previous ticket you told me: "I believe I've found the issue, and after a minor modification to theme code it now appears to work correctly."
What I changed is the my account url page. Last time was www.ritualpet.com/shop-2/my-account
Now is www.ritualpet.com/il-mio-account
Could an update have overwritten the last changes made to the template?
Indeed, sorry, it seems I got a little confused myself.
The problem seems to be that the changes I made to the theme code last time were lost - Possibly because the theme was updated.
Normally I would not like to change the theme code directly, but there is no setting to disable ajax registration in the theme. The theme developers also told me there is no hook I can use, so the only option is to change the theme code.
I now made the changes again. The file is in wp-content/themes/molla/assets/js/main.js - the changes are commenting out this code: https://prnt.sc/1xmouh0
Seems to be working now again in my tests:
If you update the theme, you would need to make these changes again. Or it may work to create a child theme for a permanent solution.
Seems to be ok, but now I have another problem with the shipping costs.
I need to setup two different shipping method for B2C costumers and two different shipping method for B2B users.
The customer can choose which of the two based on priority.
For B2C I need to set free shipping costs for orders over € 60,00
For B2B I need to set free shipping costs for orders over € 150,00
Shipping costs are based on costs based on different weight ranges. For this I use Flexible Shipping plugin.
Now the WooCommerce shipping configuration is this:
FOR B2C costumers:
Italia Zona A >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
Italia Zona B >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >60 € order)
FOR B2B costumers:
Italia Zona A >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
Italia Zona B >
- Spedizione standard = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
- Spedizione Express = shipping charges based on different weight ranges (!Important free shipping cost for >150 € order)
Following the documentation I setup the plugin as you can see in the attached screenshots.
I have two different problem:
1 - Some times, for B2b and B2c customer is it possibile to choose only Standard Shipping without the possibility to choose the Express Shipping. (If I disable the B2BKing plugin I have no problem)
2 - For B2B customers the shipping system with free shipping costs above 150 € does not work, calculating the free expenses like B2C customers (60 euros)
Shipping configuration
Simply what I need to do is this:
https://woocommerce-b2b-plugin.com/docs/how-to-enable-disable-payment-and-shipping-methods-based-on-users-or-groups/
But at the moment I can't apply different Shipping Method for different user group
If I disable you plugin I can see correctly all the shipping method added into Woocommerce zone
I have the same problem "The file is in wp-content/themes/molla/assets/js/main.js - the changes are commenting out this code" on mobile phone "Samsung S21 with Android 12" and Google Chrome
1)
I tested in the site and I disable the B2BKing plugins :
I see standard, and standard B2B, but I still do not see express:
I find that Express only shows after > 200 EUR in cart
With B2BKing enabled it is the same:
198 does not show express
200+ shows:
2)
I tried via mobile but it is working in my tests ( see attached ).
Maybe you saw a cache? the main.js file may have been cached on your mobile device.