Support » Plugin: Minimum Order Amount for Woocommerce » Minimum order based on price exclude (without) VAT

  • Resolved easysofts

    (@easysofts)


    Hello,

    How to use your plugin if I want that the Minimum order is base on price exclude (without) VAT ?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dcurasi

    (@dcurasi)

    Hi,

    I will add this option in the next update.
    For now, go in my plugin, at the 130 line of the file class-dc-moafw-public.php in the public folder and substitute this:
    $total = round(WC()->cart->subtotal, 2);
    with this:
    $total = round(WC()->cart->subtotal_ex_tax, 2);
    in this way the comparison with the minimum amount inserted will be performed on the subtotal with taxes excluded.

    If you like the plugin, please give it a rating.

    dcurasi

    Tank you very much for your fast answer

    It’s perfect

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minimum order based on price exclude (without) VAT’ is closed to new replies.