• Resolved benhartwich

    (@yoursql719)


    Hi,

    I′ve searched a bit to find this filter: add_filter('woocommerce_adjust_non_base_location_prices', '__return_false');

    I′ve placed this filter in a code snippet with the wordpress code snippet plugin and set it to execute everywhere. When I change to a specific country the price changes although it shouldn′t by setting the filter from above. I′m using product pricings with tax included.

    Is there any news regarding this filter? I thought this would be a very important feature which could have been developed further since the first implementation. Have I implemented the filter on a wrong way? Would be great to have a code snippet example.

    Thanks and regards,

    Ben

    • This topic was modified 6 years, 9 months ago by benhartwich.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    I’ve seen some instance where the Code Snippets plugin isn’t working all that well; Are you getting the same results when placing that directly inside a custom plugin or in the functions.php file of a child theme?

    Thread Starter benhartwich

    (@yoursql719)

    Hi,

    I′ve inserted the code in my child theme, but it doesn′t work also.

    Regards,

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Sometimes the active theme omits the hook or does not display the output. Can you try this using a default theme such as Twenty Sixteen or Storefront.
    Does it work then?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce filter not applied’ is closed to new replies.