Okay
  Public Ticket #3076360
Different shipping not working for b2b and b2c
Closed

Comments

  •  2
    rashidpervez started the conversation

    Dear team, 
    I set up different shipping methods for b2b and b2c for Canada but they are not working.
    By default woocommerce 1st shipping zone is working. Please let me know the solution.

    7247257408.png
  •  2,286
    WebWizards replied

    Hi Rashid,

    I checked your configuration. I think your zones are not configured correctly:

    9971647424.png

    WooCommerce matches the customer to ONLY 1 ZONE, the geographical area that is closest to them. So the customer is always matched in your site to the first zone, named "Canada Territory Based Shipping". 

    The customer will never be matched to the 'Canada' zone, because another area like Quebec is more specific / closer to them.


    I think what you need to do is:

    1. Delete the "Canada" zone.

    2. Go to the 'Canada Territory Based Shipping" zone and create the 2 shipping methods there: B2B Standard, B2B Free Shipping.

    3. Then you need to edit the methods in your groups per your needs in B2BKing - Groups.

    Does that make sense?



  •  2
    rashidpervez replied

    Dear team I want to setup different Shipping methods for B2B and B2C for Canada. I create the shipping methods here and then assign them to different groups.

    PFA B2B group shipping method configuration.

    9505486957.png

    PFA B2C group shipping method configuration.

    4969978550.png

    I am mentioning different shipping rates that i want to implement.

    B2B:
    On orders $400 and above – shipping is free
    On orders below $400 – shipping is $20

    B2C shipping costs:
    On orders $50 and above – shipping is free
    On orders below $50 – shipping is as follows:

    Thankyou!



  •  2,286
    WebWizards replied

    Hi there,

    1) I modified your configuration and configured zones in the site.

    2) There is a problem with incompatible custom code in your theme's functions.php file. I've commented out this code:

    3300527164.png


    3) I tested and now it works:

    As a B2B User I get the B2B method:

    7791200947.png


    > $400 I get the free shipping method:

    1566876589.png


  •  2
    rashidpervez replied

    Thankyou!
    Do you have any plugin to run a loyalty program separate for B2B and B2C customer?
    If so how I can buy that plugin.

  •  2,286
    WebWizards replied

    I don't know any specific plugin that would allow you to run a loyalty program with separate terms for B2B and B2C.

    I think you could use any loyalty plugin, but you would probably need to apply the same terms - or maybe apply different terms based on user WP roles.