• Resolved acmdesigns

    (@acmdesigns)


    I noticed that if Local Pickup is selected as the shipping option, it will charge tax based on the shop location, not the customer’s location, and the setting in WooCommerce > Settings > Shipping & Delivery > Shipping Zones very clearly states:

    By default, when using local pickup store base taxes will apply regardless of customer address.

    But the “By default” implies that maybe it could be changed. Is it possible to charge tax based on the customer’s location even if Local Pickup is selected?

    • This topic was modified 3 years, 2 months ago by acmdesigns.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Is it possible to charge tax based on the customer’s location even if Local Pickup is selected?

    Yes, you can disable local (shop base) tax calculations for Local Pickup by adding the following code:

    add_filter( 'woocommerce_apply_base_tax_for_local_pickup', '__return_false' );

    https://docs.woocommerce.com/document/local-pickup/#section-6

    I would recommend using a plugin like?Code Snippets?to add the snippet to your site.

    Thread Starter acmdesigns

    (@acmdesigns)

    After fiddling a bit, I figured out a different solution. Add another Flat Rate shipping method and rename it to Pickup. This applies the appropriate taxes.

    I actually saw that documentation page, but completely glazed over that filter. :facepalm:

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to charge tax based on customer location with Local Pickup’ is closed to new replies.