Okay
  Public Ticket #4512421
Issue with B2BKing and WPC FBT – Discount not applied in cart
Open

Comments

  •  2
    Vladislav started the conversation

    Hello B2BKing Support Team,

    I’m currently experiencing an issue when using B2BKing together with WPC “Frequently Bought Together” (FBT).

    Here’s what happens:

    • On the product page, the prices are displayed correctly:
      retail price and B2B discounted price are shown properly (for example, retail = 36 €, B2B = 25.20 €).

    • However, when I add the same product (or FBT bundle) to the cart, the discount is no longer applied — the product is added with the retail price, not the discounted B2B price.

    It looks like the FBT plugin passes its prices before your discount rules are applied, and the cart then recalculates using the retail price instead of the final B2B discounted value.

    Could you please advise how to ensure that:

    1. The correct B2B discounted price (from regular price) is used in the cart and checkout,

    2. And that FBT discounts still work together with B2BKing?

    We’re using your latest plugin version, and I’ve already tested with default WooCommerce setup — the issue seems to persist only when both plugins are active together.

    Thank you in advance for your help!

    Attached files:  Ekrano kopija 2025-11-03 181753.png
      Ekrano kopija 2025-11-03 181328.png

  •  2,591
    WebWizards replied

    Hi Vladislav,

    This is a tricky situation. When multiple plugins affect pricing (like B2BKing and WPC FBT), they both work on WooCommerce hooks at different points without being aware of each other. It's not just a matter of one plugin working before the other - both plugins have dozens of price hooks, so the interaction becomes very messy and unpredictable.

    These plugins can usually work together only through a special integration, which unfortunately doesn't exist between B2BKing and WPC FBT at this time.

     

    Here are a couple of workarounds you could try:

    1. Apply B2BKing discounts to the cart instead of product prices directly - This would mean the discount is only visible in the cart/checkout rather than on product pages, but it should avoid the conflict. You can configure this in your discount rules settings.

    2. Go to B2BKing → Settings → Other and enable "Product Addons/Options Compatibility". This may help, though I am not sure.

     

    Kind regards,
    Stefan