WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] Discount price excluding tax (2 posts)

  1. robzelf
    Member
    Posted 11 months ago #

    Hi there,

    I am using the Dynamic pricing extension, great stuff. Easy to extend, except one thing.
    I would like to set a fixed discount price for a 'Wholesale' customer group. And I want to display excluding tax on my product archive page.

    What I've done so far is:
    - Created the 'Wholesale' user role and set $woocommerce->customer->set_is_vat_exempt(true)
    This works fine on regular prices, but not on fixed discount prices.
    get_price_excluding_tax() only gets me the regular price without tax. Is there someting like get_discount_price_excluding_tax()?

    Thanks!

    https://wordpress.org/plugins/woocommerce/

  2. robzelf
    Member
    Posted 11 months ago #

    Never mind, fixed it.

Reply

You must log in to post.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic