Support » Plugin: WooCommerce » Change whether prices include tax, based on user role?

  • Hello!

    I’m working on a Woo build that has a slightly non-standard set-up to cater for wholesale requirements. We’re using a couple of commercial plugins for some other functionality such as being able to add a wholesale price for each product etc, but VAT is a problem.

    The client wants the retail customers to be able to see prices including VAT, which is fine as we can control this via the settings.

    However we need the wholesale buyers – that is users who are logged in and have been assigned the ‘wholesale_buyer’ role/capability to see prices excluding VAT.

    From what I can see, WooCommerce is just doing…

    get_option( 'woocommerce_prices_include_tax' )

    …in order to determine whether to include it or not, which makes it difficult to get around.

    Is there a way to do this without hard coding a solution into the plugin, perhaps by way of a filter etc?


  • The topic ‘Change whether prices include tax, based on user role?’ is closed to new replies.