WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Custom Price
[resolved] WooCommerce Custom Price plugin Settings not updated (7 posts)

  1. bullseyedesigns
    Member
    Posted 5 months ago #

    Hi,
    I've just installed your plugin with the latest versions of both WordPress and WooCommerce, but whenever I change the settings in the WooCommerce Custom Price plugin and click Save Changes, the changes aren't saved, and they default back to Pre-order & Coming Soon.
    Any idea what the problem could be?
    Thanks
    PS. It's currently on my localhost, so i cannot give an address for it to be looked at.

    https://wordpress.org/plugins/woocommerce-custom-price/

  2. WPMonkeyATL
    Member
    Posted 5 months ago #

    Hello - I had the exact same problem and realized the issue is a minor incompatibility with the latest Woocommerce 2.1.x.

    Here's how you can fix it easily: edit the file "wc-custom-price.php", on line #91 change the word "catalog" to "products", specifically make this small change:

    Change this:
    add_action( 'woocommerce_update_options_catalog', array( $this, 'save_admin_settings' ) );
    
    To this:
    add_action( 'woocommerce_update_options_products', array( $this, 'save_admin_settings' ) );
    

    Hopefully the author can incorporate this into the plugin soon, in the meantime the above works for me.

    Hope this helps.

  3. bullseyedesigns
    Member
    Posted 5 months ago #

    WPMonkeyATL you're a genius! Works like a dream. Thanks for that.

    Like you say, let's hope the author updates that in the next update of the plugin.

    Thanks again :)

  4. azhkuro
    Member
    Plugin Author

    Posted 5 months ago #

    Hi, bullseyedesigns and WPMonkeyATL

    I've been updating plugin and it's working now
    Kudos WPMonkeyATL, I've added you to contributors list

    If you have found this plugin useful for you, please leave your review and rating

    Thanks

  5. bullseyedesigns
    Member
    Posted 5 months ago #

    Excellent, seems to work all ok.

    Just one thing to note, i had to download and install again, as after updating the plugin it miraculously disappeared from my plugins list and all the files and folder were removed from my plugins folder.

  6. azhkuro
    Member
    Plugin Author

    Posted 5 months ago #

    Tested on localhost and live site, but it doesn't happen
    Could you give me the details? list of active plugins o your site

    Thanks

  7. bullseyedesigns
    Member
    Posted 5 months ago #

    Actually not sure if it was the plugin at fault, as just went to update another plugin and got the following...

    Update Plugin
    Downloading update from https://downloads.wordpress.org/plugin/better-wp-security.3.6.6.zip…
    Unpacking the update…
    Installing the latest version…
    Removing the old version of the plugin…
    Could not create directory. D:/xampp/htdocs/websites/theme/wp-content/plugins/better-wp-security/
    Plugin update failed.

    Maybe it's another plugin causing the problem, so here's my list of plugins. Wish i could give you a link but it's only on localhost at the moment. Maybe it's not a plugin causing the problem, i'll wait for the next plugin update to see if it does it again.

    Installed Plugins: Advanced Custom Fields by Elliot Condon version 4.3.4,
    LambertGroup - AllInOne - Banner with Playlist by Lambert Group version 3.5,
    Child Pages Shortcode by Takayuki Miyauchi version 1.8.0,
    Cyclone Slider 2 by Nico Amarilla version 2.8.2,
    Easy FancyBox by RavanH version 1.5.6,
    Easy Smooth Scroll Links by Jeriff Cheng version 1.6,
    Facebook by Facebook version 1.5.5,
    Force Regenerate Thumbnails by Pedro Elsner version 2.0.3,
    Get The Image by Justin Tadlock version 0.9.0,
    Google Picasa Viewer by Ian Kennerley - @nakunakifi on twitter version 1.3.0,
    Image Widget by Modern Tribe, Inc. version 99.4.0.8,
    MapPress Easy Google Maps by Chris Richardson version 2.40.7,
    Really simple Facebook Twitter share buttons by WhileTrue version 3.0.2,
    Simple Image Widget by Blazer Six version 3.0.4,
    Simple Pagination by GeekPress version 2.1.7,
    Simple Twitter Plugin by Ilya K. version 1.2,
    Social Media Widget by Brian Freytag version 999.2.9.4,
    Special Recent Posts FREE Edition by Luca Grandicelli version 2014.1.9.9,
    TinyMCE Advanced by Andrew Ozz version 3.5.9.1,
    Visual Form Builder by Matthew Muro version 2.8,
    WooCommerce Custom Price by Azh Setiawan version 0.2.2,
    Woocoomerce Extra Price Fields by Aman Saini version 9.1.1.1,
    WooCommerce by WooThemes version 2.1.5,
    WP User Avatar by Bangbay Siboliban version 1.8.9,
    WYSIWYG Widgets / Widget Blocks by Danny van Kooten version 2.3.4

Reply

You must log in to post.

About this Plugin

About this Topic