Woocommerce Taxes doesn't show in cart










1














In woocommerce I've set a country code specific tax. This seems to work, but the problem is that it doesn't show at the Cart Totals in the Cart. VAT stays at €0,00 but when clicked on Proceed to Checkout, it does show the correct VAT.



The prices are set exclusive of tax. The tax rates are only based on the country code.



What could be the problem?



I am using version version 2.1.7
These are my settings:



  • Enable Taxes: yes

  • Prices Entered With Tax: No, I will enter prices exclusive of tax

  • Calculate Tax Based On: customer billing address

  • Default customer address: no address

  • Shipping tax class: shipping tax class based on cart items

  • Rounding: off

  • Additional Tax Classes: Reduced Rate, Zero Rate

  • Display prices in the shop: excluding tax

  • Price display suffix: empty

  • Display prices during cart/checkout: excluding tax

  • Display tax totals: as a single total









share|improve this question























  • It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
    – BFTrick
    Jul 21 '14 at 20:22










  • I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
    – Jando
    Jul 23 '14 at 12:12











  • This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
    – BFTrick
    Jul 24 '14 at 14:54















1














In woocommerce I've set a country code specific tax. This seems to work, but the problem is that it doesn't show at the Cart Totals in the Cart. VAT stays at €0,00 but when clicked on Proceed to Checkout, it does show the correct VAT.



The prices are set exclusive of tax. The tax rates are only based on the country code.



What could be the problem?



I am using version version 2.1.7
These are my settings:



  • Enable Taxes: yes

  • Prices Entered With Tax: No, I will enter prices exclusive of tax

  • Calculate Tax Based On: customer billing address

  • Default customer address: no address

  • Shipping tax class: shipping tax class based on cart items

  • Rounding: off

  • Additional Tax Classes: Reduced Rate, Zero Rate

  • Display prices in the shop: excluding tax

  • Price display suffix: empty

  • Display prices during cart/checkout: excluding tax

  • Display tax totals: as a single total









share|improve this question























  • It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
    – BFTrick
    Jul 21 '14 at 20:22










  • I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
    – Jando
    Jul 23 '14 at 12:12











  • This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
    – BFTrick
    Jul 24 '14 at 14:54













1












1








1







In woocommerce I've set a country code specific tax. This seems to work, but the problem is that it doesn't show at the Cart Totals in the Cart. VAT stays at €0,00 but when clicked on Proceed to Checkout, it does show the correct VAT.



The prices are set exclusive of tax. The tax rates are only based on the country code.



What could be the problem?



I am using version version 2.1.7
These are my settings:



  • Enable Taxes: yes

  • Prices Entered With Tax: No, I will enter prices exclusive of tax

  • Calculate Tax Based On: customer billing address

  • Default customer address: no address

  • Shipping tax class: shipping tax class based on cart items

  • Rounding: off

  • Additional Tax Classes: Reduced Rate, Zero Rate

  • Display prices in the shop: excluding tax

  • Price display suffix: empty

  • Display prices during cart/checkout: excluding tax

  • Display tax totals: as a single total









share|improve this question















In woocommerce I've set a country code specific tax. This seems to work, but the problem is that it doesn't show at the Cart Totals in the Cart. VAT stays at €0,00 but when clicked on Proceed to Checkout, it does show the correct VAT.



The prices are set exclusive of tax. The tax rates are only based on the country code.



What could be the problem?



I am using version version 2.1.7
These are my settings:



  • Enable Taxes: yes

  • Prices Entered With Tax: No, I will enter prices exclusive of tax

  • Calculate Tax Based On: customer billing address

  • Default customer address: no address

  • Shipping tax class: shipping tax class based on cart items

  • Rounding: off

  • Additional Tax Classes: Reduced Rate, Zero Rate

  • Display prices in the shop: excluding tax

  • Price display suffix: empty

  • Display prices during cart/checkout: excluding tax

  • Display tax totals: as a single total






woocommerce cart






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 23 '14 at 12:21

























asked Jul 21 '14 at 13:05









Jando

842210




842210











  • It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
    – BFTrick
    Jul 21 '14 at 20:22










  • I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
    – Jando
    Jul 23 '14 at 12:12











  • This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
    – BFTrick
    Jul 24 '14 at 14:54
















  • It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
    – BFTrick
    Jul 21 '14 at 20:22










  • I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
    – Jando
    Jul 23 '14 at 12:12











  • This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
    – BFTrick
    Jul 24 '14 at 14:54















It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
– BFTrick
Jul 21 '14 at 20:22




It would be helpful to see your tax settings. Something was probably entered wrong. Also what version of WooCommerce are you using?
– BFTrick
Jul 21 '14 at 20:22












I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
– Jando
Jul 23 '14 at 12:12





I am using version version 2.1.7. I have figured that my settings are fine, but that woocommerce is programmed to not show the tax in the cart totals before pressing on checkout, because after pressing on checkout, the user has the ability to change the shipping or billing country. So the tax only gets calculated after the user has set the country. I would like to know if there is a way to show it also in the cart totals. Any idea?
– Jando
Jul 23 '14 at 12:12













This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
– BFTrick
Jul 24 '14 at 14:54




This would be pretty complex. You'd have to programmatically set the country, state, zip, city, etc. and invoke the tax calculation method.
– BFTrick
Jul 24 '14 at 14:54












1 Answer
1






active

oldest

votes


















0














No, it's not that complex. I just did that a few days ago. I also thought that it would be a lot of code, but actually its 2 filters for taxes, and 1 filter for shipping (if you also want that pre-calculated).



Please read my self-answer on this page: How to show correct tax on basket (BEFORE checkout)?






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f24865855%2fwoocommerce-taxes-doesnt-show-in-cart%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    No, it's not that complex. I just did that a few days ago. I also thought that it would be a lot of code, but actually its 2 filters for taxes, and 1 filter for shipping (if you also want that pre-calculated).



    Please read my self-answer on this page: How to show correct tax on basket (BEFORE checkout)?






    share|improve this answer



























      0














      No, it's not that complex. I just did that a few days ago. I also thought that it would be a lot of code, but actually its 2 filters for taxes, and 1 filter for shipping (if you also want that pre-calculated).



      Please read my self-answer on this page: How to show correct tax on basket (BEFORE checkout)?






      share|improve this answer

























        0












        0








        0






        No, it's not that complex. I just did that a few days ago. I also thought that it would be a lot of code, but actually its 2 filters for taxes, and 1 filter for shipping (if you also want that pre-calculated).



        Please read my self-answer on this page: How to show correct tax on basket (BEFORE checkout)?






        share|improve this answer














        No, it's not that complex. I just did that a few days ago. I also thought that it would be a lot of code, but actually its 2 filters for taxes, and 1 filter for shipping (if you also want that pre-calculated).



        Please read my self-answer on this page: How to show correct tax on basket (BEFORE checkout)?







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 23 '17 at 11:46









        Community

        11




        11










        answered Aug 28 '14 at 13:56









        user2390733

        34147




        34147



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f24865855%2fwoocommerce-taxes-doesnt-show-in-cart%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Use pre created SQLite database for Android project in kotlin

            Darth Vader #20

            Ondo