• Hello,

    How can I display the sales price of a product with taxes?

    Actually I have the following code to show the regular price with taxes:

    <?php echo woocommerce_price($product->get_price_including_tax()); ?>

    But how must look the code for the sale price with taxes?

    I look for something like:

    <?php echo woocommerce_price($product->get_sale_price_including_tax()); ?>

    • This topic was modified 7 years, 11 months ago by JanHoffmann.
    • This topic was modified 7 years, 11 months ago by JanHoffmann.
    • This topic was modified 7 years, 11 months ago by JanHoffmann.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Jan,

    I’m looking for the same thing.

    I couldn’t find a function or variable that can get the sale price of the product including taxes.

    Please do let me know if you have found a solution for this issue.

    Thanks!

    Greetings, I have a similar problem with Norwegian sales tax and I would like to point out a couple of problems with the Norwegian version.
    1. sales tax in Norwegian is called Merverdiavgift = (MVA abbreviated, not skatt)
    2. I have problems with getting the sales tax to function properly. If I enter the product prices ex. tax, I noticed that payments in, for example PayPal was given without sales tax included even though I had ticked off ex tax product pages Incl. taxes in the cash register check out.
    3. So I recalculated all 100 products to include sales tax to avoid a 25% loss on future sales. Now I do get the correct amounts incl. sales tax, but the sales tax shows “0” when I ask the program to specify how much sales tax included.? (Either specified or total only)
    Please let me know of any solution to this problem! Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce: display sale price with tax’ is closed to new replies.