1. jackjay
    Posted 1 year ago #


    I've got a got a problem i can't get Tax/BTW to work. BTW isn't displaying on the product page. All products are inserted with out tax/BTW i want woo commerce to display with tax but it isn't working.

    Hope some one can help me out.


  2. coach-henk
    Posted 1 year ago #

    You can try:
    <?php echo woocommerce_price($product->get_price_excluding_tax());?> ex BTW
    <?php echo woocommerce_price($product->get_price_including_tax()); ?> incl BTW

    I use it in price.php in the theme in the folders single_product and loop.

  3. jackjay
    Posted 1 year ago #

    Hi coach-henk,

    So where should i place this piece of code to be exact?
    In the file price.php ? that are in the theme folders : single_product and loop ?

    Sorry i don't fully understand where i should place this code .

  4. coach-henk
    Posted 1 year ago #

    1. Make a folder woocommerce in your theme folder.
    2. Make 2 folders: 'loop' and 'single-product' in the woocommerce folder
    3. Copy the 2 original files (price.php) from the woocommerce plugin folder to both created folder.
    4. Alter these files

  5. jackjay
    Posted 1 year ago #

    I've bought the theme : TechgoStore link :http://themeforest.net/item/woocommerce-wordpress-theme-techgostore/5954407

    It has it's own woocommerce folder. should i alter the files there?
    and you mean with altering : adding the 2 lines you provided earlier ?

    Many thanks

  6. coach-henk
    Posted 1 year ago #

    Yes you can alter the files in the theme's folder. Add or replace the lines, I don't know the specific code from the theme. Trial and error :D.

    Just backup them first :)

  7. jackjay
    Posted 1 year ago #

    Thanks for the tip on that .

    But this isn't what i meant, the problem is i changed the tax % for standard on woo commerce to 21% and entered the prices whit out tax/BTW so ex BTW and i want that woo commerce calculates and shows the 21 % in the price of the product. but the price is still the same as the one i enter it isn't showing price+21% btw but just price

  8. coach-henk
    Posted 1 year ago #

    Ah oke, it seems we are both looking for a solution for the same problem: http://wordpress.org/support/topic/woocommerce-show-price-excluding-and-including-vat?replies=1

    If you find a solution please let me know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic