Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter benelers

    (@benelers)

    Sorry for the late reply. Only just saw it.

    I found the answer here:

    php – Where exactly do I write define( ‘WP_DEBUG’, true ) in wp-config file – WordPress Development Stack Exchange

    Basically, it was adding the following to my wp-config.php file (BEFORE /* That’s all, stop editing! Happy blogging. */)

    define( 'WP_DEBUG', true );

    That then just turns off the display of the errors publicly. This was all entirely new to me and I had no idea even where to find the php, but it all worked somehow!

    I found the problem was with a Woocommerce plugin (i think about calculating tax rates or something).

    • This reply was modified 2 months, 2 weeks ago by benelers.
    Thread Starter benelers

    (@benelers)

    Thanks Faisal, I have fixed it through another workaround,

    Forum: Plugins
    In reply to: [WooCommerce] Tax
    Thread Starter benelers

    (@benelers)

    I stopped working on this for a bit, but have now fixed the issue. Thanks to everyone in the forum who provided support. Really appreciated!

    Forum: Plugins
    In reply to: [WooCommerce] Tax
    Thread Starter benelers

    (@benelers)

    Thanks. I have:

    1. Entered the following code using Code Snippets:

    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    2. In woocommerce/ Settings/ Tax checked “Yes.I will enter prices inclusive of tax”.

    However, it still shows the initial price. And then, if the person selects a country where they do not need to pay tax, then their Total gets reduced by the amount of the tax they would have had to pay.

    Forum: Plugins
    In reply to: [WooCommerce] Tax
    Thread Starter benelers

    (@benelers)

    Hi Luminus – this is great. Thanks. This is exactly the issue/ scenario. It says that I should add code: add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    Where do I add this code to?

    Thx.

    Forum: Plugins
    In reply to: [WooCommerce] Tax
    Thread Starter benelers

    (@benelers)

    Daniel – thanks. But not exactly. I had read the document before opening the thread, but it did not really address the issue.

    Basically – I was trying to find out if it is possible that you have a setting whereby ALL customers (regardless of location) pay the same amount. But in cases where I need to charge VAT (in the EU) then I basically receive less. Two scenarios:

    In the case of a customer in the EU:

    Their bill shows that they pay €100 (€80 + €20 vat). I receive €80.

    In the case of a customer outside the EU.

    Their bill shows that they pay €100 (€100 + €0 vat). I receive €100.

    In other words, I effectively take the VAT hit for them.

    Thanks

    Forum: Plugins
    In reply to: [WooCommerce] Tax
    Thread Starter benelers

    (@benelers)

    Yup. thanks. just poorly expressed on my part!

    • This reply was modified 2 years, 5 months ago by benelers.
Viewing 7 replies - 1 through 7 (of 7 total)