• Resolved skinperforator

    (@skinperforator)


    Hello,
    is it possible to not have the same gross price for customers from all countries?
    It will reduce the profit remarkably if sales go with the same price to countries that have a higher tax rate than the base country.

    Will we have to use the WooCommerce option to enter prices without tax to achieve this?
    Would be great to have an option to choose and if the products already in the shop would be included in this calculation.

    i.e. if prices are entered with tax already one could calculate the net price of the product from the tax rate of the base country and add the country specific tax rate to this.

    Best regards

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

    (@vendidero)

    Hi there,

    is it possible to not have the same gross price for customers from all countries?

    Yes, you could do that by removing the filter added here: https://github.com/vendidero/one-stop-shop-woocommerce/blob/main/src/Tax.php#L19
    e.g. via:

    add_action( 'init', function() {
      remove_filter( 'woocommerce_adjust_non_base_location_prices', array( 'Vendidero\OneStopShop\Tax', 'disable_location_price' ), 250 );
    } );

    Woo does not offer other, conditional tax calculation options. Removing the filter will lead to different gross prices based on the customer’s country. This could actually lead to some legal problems too – you should let this be checked by a lawyer as (depending on your geolocation settings) some customers may see a price increase only when they change their shipping country within the checkout.

    Cheers

    • This reply was modified 3 years, 5 months ago by vendidero.
    Thread Starter skinperforator

    (@skinperforator)

    Thanks for the fast answer. I just tested it in WooCommerce without the OSS plugin and there it seems to be the standard behaviour, how I expected it. So if I understand right, removing the filter will put it back to standard calculation mode?

    If I have geolocation already activated for shipping cost calculation, shouldn’t it also show the right prices and taxes accordingly?

    Plugin Author vendidero

    (@vendidero)

    Yep, that’s right.

    If I have geolocation already activated for shipping cost calculation, shouldn’t it also show the right prices and taxes accordingly?

    Probably, yes

    Thread Starter skinperforator

    (@skinperforator)

    Thanks!

    I now tried to insert the code in my theme’s functions.php but I doesn’t seem to work, as the prices still stay the same. Do I have to add it somewhere else?

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    sorry, a little typo in the snippet. Please use:

    add_action( 'init', function() {
       remove_filter( 'woocommerce_adjust_non_base_location_prices', array( 'Vendidero\OneStopShop\Tax', 'disable_location_price' ), 250 );
    } );

    Cheers

    • This reply was modified 3 years, 5 months ago by vendidero.
    Thread Starter skinperforator

    (@skinperforator)

    Now it works!

    Vielen Dank!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use same net price’ is closed to new replies.