(1) On the staging site, the reason those do not show the same way is because of the code snippet here in the site's functions.php file:
This makes B2BKing no longer show methods based on zones (so it only shows the general methods, flat rate, free shipping etc).
(2) On your main site, I checked that now for Italy.
I believe I have found the problem. The code snippet here sets that if there are free shipping methods + other methods, only free shipping should be given to the customer:
But then because the free shipping option was not enabled here, it shows that nothing is available.
To solve this, I increased the priority of the code snippet to 100000, so it applies AFTER the B2BKing features.
Shipments are no longer visible only to B2B users, so it is not possible to complete the order.
What may have happened?
Thanks and have a nice day
Hello Cinzia,
B2BKing has a feature that allows controlling available shipping and payment methods for each group separately.
We describe this in more detail here: https://woocommerce-b2b-plugin.com/docs/faq-how-to-fix-no-available-payment-or-shipping-methods-issue
Basically, if you go to B2BKing -> Groups -> Business Groups, and click on each group, you can enable the available methods there:
On your site I checked and all groups have all shipping methods deactivated, so that must be the issue.
Kind regards,
Stefan
Thank you for the access details,
I tried looking at this with the "staff" user, set as B2B, but that seems to work normally for me: https://www.loom.com/share/dc95bb88e7ef48b0afa9852933740d22?sid=598d6856-b3b7-4cb7-8a5e-756e509918c0
Can you please clarify, what user are you testing with? / what steps can I take to see the issue?
I did some tests and it doesn't depend on the user, it doesn't work only when I select Italy.
https://www.loom.com/share/b3fca09b40c74efa89a33cf055092636?sid=bca650ae-7df3-46ff-8c87-b2a4b0c24545
but on the staging site, with all the updates made, the shipments from B2BKing->Groups disappeared :
https://www.loom.com/share/557ff72077644a7aa91e8d0c9bd8abc2?sid=e906e105-cb95-4dfa-ad59-396f73741dea
Hi again,
(1) On the staging site, the reason those do not show the same way is because of the code snippet here in the site's functions.php file:
This makes B2BKing no longer show methods based on zones (so it only shows the general methods, flat rate, free shipping etc).
(2) On your main site, I checked that now for Italy.
I believe I have found the problem. The code snippet here sets that if there are free shipping methods + other methods, only free shipping should be given to the customer:
But then because the free shipping option was not enabled here, it shows that nothing is available.
To solve this, I increased the priority of the code snippet to 100000, so it applies AFTER the B2BKing features.
I believe that should be solved now.
thanks for the quick answer. Now it works everywhere :-)