Support » Plugin: One Stop Shop for WooCommerce » Problems with non-EEC countries

  • Resolved derno90

    (@derno90)


    Good evening,
    I was able to charge the same amount everywhere and absorb the differences in taxes.
    And this is exactly the goal I wanted to achieve. To do this I add the code in functions.php
    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    So for example, if someone buys from Luxembourg, they will pay 100 € where 83 € is the cost of the product and 17 € is the VAT. Similarly another person from Sweden, for the same product, will still pay 100 € where the cost is 75 € plus 25 € of VAT. In the other hand, someone from Russia will pay 100 € with 100€ of product and 0 in VAT.
    And it works perfectly for me.

    Now I needed a plugin to do the tax report, so I tried your plugin.
    It works until someone buys from outside Europe, in which case they pay only 78 € (as if they take the price of the shop’s home state as a base with no added taxes). It seems that the code I added does not work outside of Europe.
    Can you help me understand why and how to solve this problem?

    Thank you in advance for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi there,

    by default the OSS plugin does treat third countries as tax exempts, e.g. net prices are applied. If you want to change that you might use this filter within your functions.php:

    add_filter( 'oss_disable_static_gross_prices_third_countries', '__return_false' );

    or you could add your woocommerce_adjust_non_base_location_prices with a greater priority than the OSS plugin (> 250).

    Cheers

    Thread Starter derno90

    (@derno90)

    Hi @vendidero
    Thanks so much,
    I have added a higher priority to my filter and now it works perfectly.

    Congratulations for the excellent work and the speed of response.

    Gave a nice day,
    bye!

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    glad to hear that!

    If you are happy with our support and the One Stop Shop for WooCommerce plugin, we would be very happy to receive a review.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with non-EEC countries’ is closed to new replies.