Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @idanyashar

    The filter woocommerce_apply_base_tax_for_local_pickup is used to decide whether or not to apply base tax rates for local pickup methods. By default, this filter returns true, which means base tax rates are applied. When you use the function __return_false, you’re telling WooCommerce not to apply the base tax rates for local pickup. However, this does not mean that all taxes are disabled. If there are other tax rates applicable for the customer’s location, those will still be applied.

    To set the regular taxes to “0” for local pickup only, you will need to create a tax rate with a 0% rate that applies to the locations where local pickup is available. Here are the steps to do this:

    1. Navigate to WooCommerce > Settings > Tax.
    2. Click on ‘Insert Row’ to create a new tax rate.
    3. Set the ‘Country Code’ and ‘State Code’ to the locations where local pickup is available.
    4. Set the ‘Rate %’ to 0.
    5. Save your changes.

    This will ensure that a 0% tax rate is applied to orders where the customer chooses local pickup.

    Further information on disabling tax on local pickup can be found here: https://woocommerce.com/document/local-pickup/#section-6

    I hope this helps! If you have any other questions or if you’re still experiencing issues, please don’t hesitate to ask.

    Thanks!

    Thread Starter idanyashar

    (@idanyashar)

    Thanks!
    I did what you suggested and still no luck ?? The shop is in the Country of Israel, and the free pickup is in the city of Eilat. We don’t have states here, only cities. Any guess on the 2 digit State Code for Eilat city?

    I tried “IL”
    “EI” (ei, short for Eilat ?? )
    SD “SOUTH DISTRICT”
    = didn’t work.


    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @idanyashar

    In WooCommerce, the state field is optional and mainly used for countries like the United States, Canada, and Australia, where taxes can vary by state. In most other countries, including Israel, taxes are the same across the entire country, so the state field isn’t necessary.

    However, if you want to specify a tax rate for a specific city, you can use the ‘City’ field instead. Here’s how to do it:

    1. Navigate to WooCommerce > Settings > Tax.
    2. Click on ‘Insert Row’ to create a new tax rate.
    3. Set the ‘Country Code’ to ‘IL’ for Israel.
    4. Leave the ‘State Code’ field blank.
    5. In the ‘City’ field, enter ‘Eilat’.
    6. Set the ‘Rate %’ to 0.
    7. Save your changes.

    This should apply a 0% tax rate to orders where customers choose local pickup in Eilat.

    Please let me know if you have any other questions or if you’re still experiencing issues.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Local Taxes when using Local Pickup’ is closed to new replies.