Home Forums Plugins CURCY – WooCommerce Multi Currency Critical Bug: Double conversion on WoodMart FBT cart

Critical Bug: Double conversion on WoodMart FBT cart

  • Author
    Posts
  • #260758

    VALRSOUL
    Participant

    Hello VillaTheme Support Team,

    I am experiencing a critical double-conversion bug when using CURCY Premium (v2.4.1) alongside the WoodMart theme’s “Frequently Bought Together” (FBT) feature.

    When a customer adds FBT products to the cart in a secondary currency, the exchange rate is applied TWICE to the cart subtotal.

    [Environment]:
    – Base Currency: USD
    – Secondary Currency: CAD (Exchange rate: 1.42)
    – Theme: WoodMart
    – Plugin: CURCY Premium v2.4.1

    [Proof of the Bug – Please check the 3 attached screenshots]:

    – Image 1 (Front-end): Before adding to the cart, the WoodMart FBT section correctly calculates the total in CAD. (Correct Total: CAD $151.72)

    – Image 2 (Mini-Cart Bug): After clicking “Add to Cart”, the subtotal in the side cart is INCORRECTLY multiplied by the 1.42 exchange rate again. (Bug Total: 151.72 * 1.42 = CAD $215.44)

    – Image 3 (Cart/Checkout Bug): The main cart and checkout pages also inherit this double-converted, inflated amount (CAD $215.44).

    [What is causing this?]:
    The issue clearly lies in how CURCY handles the custom cart item price passed by WoodMart’s FBT AJAX request. CURCY is treating the already-converted CAD price as the USD base price, and multiplying it by the CAD exchange rate a second time.

    Could you please provide a snippet or a fix to prevent CURCY from double-converting the WoodMart FBT subtotal?

    Thank you!

    Attachments:
    You must be logged in to view attached files.

You must be logged in to see replies to this topic. Click here to login or register