Support » Plugin: Woocommerce Price by Country » Save Changes Button Not Showing Up in Integration Page

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi,
    I’ve the same issue.
    I’ve updated woocommerce to 2.3.3 and save changes button is not showing up.



    Does anyone have an answer for this?

    Uncaught TypeError: undefined is not a function admin.php?page=wc-settings&tab=integration:519

    $.chosen() is not applying properly. Investigating…

    Got it.

    There is a call to $woocommerce->add_inline_js() on the settings page, which is a function that has been deprecated in WooCommerce. This is causing the settings page form to crash, removing the bottom scripts from the page.

    Quick fix: replace class-woocommerce-price-by-country-settings.php with this:

    Long-term fix: get in touch with the plugin author.

    Bonus upgrade: enable chosen dropdowns in the admin!




    It didn’t change anything for me. I stil get the following error:

    Fatal error: Call to undefined method WooCommerce::add_inline_js() in /home/agenceta/public_html/koso/wp-content/plugins/woocomerce-price-by-country/class-woocommerce-price-by-country-settings.php on line 369

    The bottom of the Integration tab looks like this and I can’t save my changes.



    I changed to this plugin – WooCommerce Product Price Based on Countries]

    So the problem is that line 369 of class-woocommerce-price-by-country-settings.php still has that busted function on it. Lemme dig through and see if I can give you a better description…

    Oh, k… you didn’t actually do step 1 right?

    Replace the file /home/agenceta/public_html/koso/wp-content/plugins/woocomerce-price-by-country/class-woocommerce-price-by-country-settings.php with this file:

    edit: I can give you a zip of the entire plugin if you want!

    Yeah, FWIW I totally moved to as well. Paid, but works like a hot damn out of the box.



    “Replace” meaning giving your file the same name as the original, yes, I did. I first replaced it and got

    The plugin woocomerce-price-by-country/woocommerce-price-by-country.php has been deactivated due to an error: The plugin does not have a valid header.

    Then I replaced only the content of the file (AKA everything below the header) with yours and that did nothin. I just retried switching the whole file again and still get the invalid header error.

    Here’s the zip… tested and working on my own sites:



    Thanks, Eric, I’ll give it a try!

    Plugin Author Sweet Homes


    Hi all

    i just released a new version with some bugfixes tnx to Eric McNiece 😛

    Thanks man! Much appreciated 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Save Changes Button Not Showing Up in Integration Page’ is closed to new replies.