• Resolved croissantfume

    (@croissantfume)


    Hello woocommercers,

    I am having trouble to settle the tax and I am wondering if what I want to do is impossible after all these failed attempts.

    My goal is simple : I want to have a fix price of 900$ for a product and have the VAT calculated at the checkout page whenever my client enters his shipping country. However, the Vat should be calculated and still makes 900$ at the end.

    e.g : someone from France would find a 900$ product and once in the checkout page sees a 900$ bill with 150$ 20% VAT France.
    someone from Italy would find a 900$ bill with a 22% IT VAT ( sorry I can’t calculate it x) ).

    May I ask if this is possible?

    I thought this setting would be doing what I mentioned above but with no success so far :

    on woocommerce => Tax => tax option

    Priced entered with tax : YES
    calculated on based on : Shipping address
    Shipping tax class : standard
    Display prices in the shop : excluded tax
    Display prices during cart and checkout : included tax

    I have tried a combination of everything and unfortunately the only way for the system to have a 900$ checkout fixed price is to disable VAT. However I would have loved to have the system working for tax calculation.

    If anyone has an idea I would gladly try it out.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Saif

    (@babylon1999)

    Hello @croissantfume,

    So if I understand this correctly, you want to charge the same amount everywhere and absorb the differences in taxes.

    This can be achieved with the following code: https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce#prices-including-tax—experimental-behavior

    I recommend you add to your site using a code snippet plugin like this one so it’s not overwritten when WooCommerce is updated.

    Cheers!

    Thread Starter croissantfume

    (@croissantfume)

    Hello Saif,

    thank you for your kind answer. Indeed, I think you have understood well my request.

    I have added the code and done some tests on my phone and it seems everything is working as intended so far. I will give it a bit more test along the days but it looks like you have found the solution so far : ) !

    Thank yous so much buddy you were being very helpful.

    See you around.

    Thread Starter croissantfume

    (@croissantfume)

    Hello Saif,

    I hope you are having a good weekend.

    After few trials it looks like it does perfectly what I asked for.

    Another problem though has kind of appeared which is :

    only European VAT countries appear despite having set up the whole US state VAT.

    I wonder why these ones as well as UK doesn’t appear in the checkout VAT despite being properly set up.

    Did that happen to you before ?

    Thank you in advance and have a wonderful weekend.

    Hi @croissantfume

    I’m glad we were able to help! 🙂

    Can you please share with us a clear screenshot of your Tax Settings for us to check this further?

    If you don’t already have a screenshot service installed, you can try https://snipboard.io or http://skitch.com/. You can share the direct link to the image as a response to this topic.

    Thread Starter croissantfume

    (@croissantfume)

    Hello Xue,

    sorry for my late reply and I wanted to thank you for the help so far.

    I have made a few screenshots of my whole tax setup, which you will find in the link below. Please kindly check them.

    https://snipboard.io/qYieK3.jpg
    https://snipboard.io/1vMiJy.jpg
    https://snipboard.io/y0BzZ9.jpg
    https://snipboard.io/FdHsP7.jpg
    https://snipboard.io/wF6nY2.jpg
    https://snipboard.io/l6HSeY.jpg

    If I can be ow any help, please let me know. Thank you again for your precious help.

    Warm regards.

    Hello!

    Thanks for sending screenshots.

    only European VAT countries appear despite having set up the whole US state VAT.
    I wonder why these ones as well as UK doesn’t appear in the checkout VAT despite being properly set up.

    Please be sure to add the United Kingdom country code which is GB.


    Link to image: https://snipboard.io/6IO3qB.jpg

    You can double check if your configuration is according to our documentation:
    https://woocommerce.com/document/setting-up-taxes-in-woocommerce/#display-prices-in-the-shop
    https://woocommerce.com/document/setting-up-taxes-in-woocommerce/#setting-up-tax-rates

    Feel free to let us know if you have any questions 🙂

    Thread Starter croissantfume

    (@croissantfume)

    Hello Igor,

    thank you for your advice, indeed, it was noted UK and as I uploaded a csv file I found on woocommerce tax I didn’t realize it needed to be GB. Thank you again for that !

    I have then followed the part “tax rate examples” on your link and have proceeded as their example.

    here is what I have done :

    https://snipboard.io/HU654f.jpg

    I have set up a ” US VAT ” at 6% (which is kinda… useless as it ll never be used) but at least it works and on the checkout page I do see its calculation correctly.

    However, I thought that it would be enough to see the state tax appear whenever I will be changing the state in the shipping part. Hell no, the 6% US VAT is still used and doesn’t change according to the state I have set up.

    Any idea on that part ?

    Thank you again for all your help this has allowed me to advance so far a lot.

    Hello,

    I thought that it would be enough to see the state tax appear whenever I will be changing the state in the shipping part. Hell no the 6% US VAT is still used

    I was checking and it is changing the values on my end, please check screenshot:

    Link to image: https://gifyu.com/image/S3BhH

    You can clear the site cache, then try again to check if the issue persits. Let us know if there are any questions.

    Thread Starter croissantfume

    (@croissantfume)

    Hello Igor,

    thank you so much for this gif and this information. I haven’t seen it working on my side so it is beneficial having someone doing it to see how it looks on an external user.
    At least that is good news that it is working for users.

    On my side, I have tried refreshing the cache as you suggested, but it doesn’t look like it is having any positive results.

    I have done some tests and here are my results :

    When I am connected to the WordPress dashboard and I go to checkout with a product, the VAT does correspond to the state given.

    However, whenever I am not connected the VAT only changes when I update the billing info by scrolling and clicking on the country form. … weird.

    I ll do some more test with some friends in the US to see if everyone has the same result as you Igor and adapt to see if I need any change.

    Thank you again for your great help. Wish you the best day ahead.

    Hi @croissantfume

    I’m glad we were able to help! 🙂

    Please do update us once you were able to test this on your end.

    If you were not able to resolve the issue, kindly switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    Thread Starter croissantfume

    (@croissantfume)

    Hello Xue,

    thank you for your kind message and the help.

    After a lot of testings here is what I can observe :

    When logged in everything works correctly, you can check that in this small video I made https://share.vidyard.com/watch/K4RWafTq1qF5WhyAk3NnPn?.

    Whenever not logged in, vat updates only when changing billing country info.

    please refer to that small video : https://share.vidyard.com/watch/4eQ6r5HeCsWjxL9m73pMwQ?

    Would it be possible to make it update whenever shipping information is changed ?

    Thank you in advance and have a wonderful weekend.

    Saif

    (@babylon1999)

    Hello @croissantfume,

    This should be fixed by changing how the tax is calculated from here.

    That said, I tried test ordering something from your site and the tax was working fine when updating the shipping address.

    Here’s a screencast for you to check:

    Link: https://gifyu.com/image/S9EHK

    I’m not sure if you’ve figured it out or if I didn’t understand you correctly, either way let us know. 🙂

    Cheers!

    Thread Starter croissantfume

    (@croissantfume)

    Hello Saif,

    thank you for your testing on your side.

    Regarding your first recommendation, I confirm the tax is already set up according to the shipping address. You can kindly check the proof here: https://imgur.com/a/qCrACuv

    When it comes to vat updating, I was talking about the US state that doesn’t update it whenever a new state has been selected. With any other country, I do have the same results that you have Saif which shows the convenient functionality of woocommerce.

    If you refer to the old video I made, changing the state whenever US is selected doesn’t update VAT and only changing the country in the billing session updates it. It probably won’t be intuitive for clients to change billing details just to make it function.

    Any idea on how to solve this ?

    Cheers.

    Hi there @croissantfume 👋

    changing the state whenever US is selected doesn’t update VAT and only changing the country in the billing session updates it. It probably won’t be intuitive for clients to change billing details just to make it function.

    Any idea on how to solve this ?

    That is correct, tax is calculated based on customer shipping address. It is set up like so in the settings. Per the information you provided us with:

    You can kindly check the proof here: https://imgur.com/a/qCrACuv

    The setting can be changed, and another option selected, as explained in the documentation here.

    Additionally, it might be worth looking into a plugin like WooCommerce Tax, if you are in an eligible country, as it would automate things.

    I hope that helps!

    • This reply was modified 3 years, 8 months ago by anastas10s. Reason: typos
    Thread Starter croissantfume

    (@croissantfume)

    Hello Pepe,

    thank you for your implication.

    What I found weird is that Saif, in his first small video shew that changing the state shipping info was indeed working and updating the VAT. As I haven’t the same result I am quite confused.

    I thought the vat would update whenever shipping info is changed but no, it needs to have billing info changed after selecting a US state for that to work.

    But fine, if you tell me it is supposed to work like that, I guess I will leave it as such. I am just doubting that it will be clear for people to have the right information intuitively.

    Maybe, is there any piece of code I can put on a snippet to force an update over state shipping info choice? I think this could solve my problem.

    Many thanks everyone.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘some problems with the tax vat on woocommerce’ is closed to new replies.