• Resolved Oscar Gare

    (@oscargare)


    Hi there ??

    I’m trying to solve an issue related to this plugin and “Price Based on Country” reported by a customer:
    When you add a product to the cart via the “bump order” feature, the price of the product does not change when the user changes the “currency” (pricing zone in “Price Based on Country” terms).

    After reviewing the plugin code, I check that the problem is in line 274 of the includes/Features/OrderBumps.php file:

    https://snipboard.io/meSysu.jpg

    Since you use ‘cart’ as a parameter, the Price Based on Country “filters” that modify the product’s price do not run for the bump products in the cart.

    Replacing $bump_price = $bump->get_price( 'cart' ); with $bump_price = $bump->get_price(); will solve the issue.

    Please let me know if you need more info.

    Thanks

    • This topic was modified 2 years ago by Oscar Gare.
Viewing 1 replies (of 1 total)
  • Plugin Author Clifton Griffin

    (@clifgriffin)

    Hi Oscar,

    This appears to be a question about our Pro version. Please contact support[at]checkoutwc.com with your license information and we can help you with this.

    Best,
    Clif

Viewing 1 replies (of 1 total)
  • The topic ‘Compatible Price Based on Country’ is closed to new replies.