Support » Plugin: WooCommerce Multiple Free Gift » Free gift if Cart total price is greater than not working correctly

  • Hi, I’m working with a woocommerce site where I want to att a free gift if cart total is greater than 200. So My settings are set to Cart total price is greater than 199.

    Witch should mean if( $total < 199 ) { //Then add gift }.

    But the problem seems to be that the Cart total price if price is included taxes.
    Calculates as follow: Cart total price = $total_price – $tax_rate;

    This wouldn’t be a issue if it weren’t for that I have 2 different tax rates on my products.

    If I only had one tax rate, I would simply had taken 200 – tax rate, and I would have ended up with if price is <= 200 add product.

    I have tried deactivating all plugins and changed theme. But only works correctly if I change woocommerce products price to show excluded tax rate. And that isn’t an option in this case.

  • The topic ‘Free gift if Cart total price is greater than not working correctly’ is closed to new replies.