Okay
  Public Ticket #4100710
Issues with shipping fee and gift logic for Local Pickup – B2BKing + WoodMart Theme
Open

Comments

  •  1
    Vladislav started the conversation

    Hi B2BKing Support Team,

    We are using your plugin together with the WoodMart theme in our WooCommerce store, which serves both B2B and B2C customers.

    Currently, we’re facing a few important issues regarding the shipping fee and free gift logic, and I’d appreciate your advice or a possible workaround.

    🟡 1. Shipping fee still applied even if “Local Pickup” is selected

    We have a dynamic rule in B2BKing to add a €3.5 shipping fee for B2B users if their cart total is under €150.

    However, if the customer chooses “Local Pickup”, this fee still gets applied even though there is no actual delivery.

    We tried using a custom PHP snippet to remove the fee based on local_pickup detection – but this didn’t work reliably with B2BKing dynamic fee logic.

    We would really benefit from a native condition in B2BKing to exclude the shipping fee if the selected shipping method is Local Pickup. Is that something you plan to support?

    🟡 2. Gift product is added correctly, but its price is included in the total

    We use a B2BKing rule to automatically add a gift product to the cart (e.g. a hair mask) when certain conditions are met.

    The product appears correctly – great!

    However, its full price is still included in the final order total, even though it’s a gift and the price is set to €0 in the rule.

    This is confusing for customers and impacts discounts and free shipping thresholds.

    💡 Summary – what we need help with:

    1. Can you help us completely remove the €3.5 fee when “Local Pickup” is selected, regardless of the cart total?

    2. How can we make sure that the gift product’s value is NOT included in the total sum?

    3. Is this a known limitation of dynamic rules in B2BKing when working with shipping methods?

    4. Are there any WoodMart-specific considerations or conflicts that could cause this?

    Thanks so much in advance for your help! We really appreciate your work and your plugin, and we’re looking forward to making our checkout experience smoother.

  •  1
    Vladislav replied

    Hello, just a quick follow-up to check if there might be any update on this. We’d really appreciate your support, as it’s affecting our checkout experience. Thank you in advance!

  •  2,456
    WebWizards replied

    Hi Vladislav,

    Thanks for your patience on this,

     

    (1) Regarding the issue where you are seeing a shipping fee even for local pickup: I'm afraid that B2BKing doesn't currently have a way to apply these fees based on specific shipping methods only - they are generic fees at the moment.

    As a solution, I would recommend:

    • Instead of using a shipping fee, create multiple shipping methods under WooCommerce -> Settings -> Shipping, giving each method a B2B and B2C version, each with different costs.
    • Then, under B2BKing -> Groups, you can enable the B2B version for B2B users, and viceversa.

     

    (2) In terms of gift products, how exactly are you configuring that? It is a bit unclear: do you have some plugin for gift products?

    You also mentioned using a B2BKing rule - can you share a screenshot of that configuration? (B2BKing doesn't normally have 'free gift' product rules, so I'm not entirely sure how that's done, or I may be misunderstanding the setup).

     

    Kind regards,

    Stefan

  •  1
    Vladislav replied

    We are encountering an issue with the handling of gift products for our B2B customers in WooCommerce when using the WoodMart theme and your B2BKing plugin. The problem occurs when a gift product is automatically added to the cart using WoodMart's gift rules, but B2BKing treats the gift product as a regular product rather than as a gift, and it gets counted as part of the order total, which is incorrect.

    Problem Overview:
    • We have configured gift products to be automatically added to the cart when certain conditions are met. These gift products are set to €0 in the system.

    • However, when a B2B customer places an order, the gift product is still treated as a regular product, and its price is included in the final total, which is causing confusion for our customers.

    Issue Details:
    • B2BKing is treating the gift product as a normal product, despite being set to €0, and is including it in the final order total.

    • We are using the WoodMart theme's gift rules to add the product to the cart, but it seems that B2BKing does not differentiate between a gift product and a regular product.

    Our Request:

    Could you kindly assist us in addressing the following points:

    1. Is there a way to correctly handle gift products in B2BKing so that they are recognized as gifts (i.e., at €0) and not counted as regular products in the order total for B2B customers?

    2. Could you suggest any possible code adjustments or configurations in B2BKing to prevent the gift product from affecting the order total for B2B clients?

    3. Are there any known compatibility issues between B2BKing and WoodMart's gift rules that might be causing this behavior?