WordPress.org

Ready to get started?Download WordPress

Forums

MarketPress - WordPress eCommerce
Plugin Fix > Debug & Delete Orders (10 posts)

  1. Baden
    Member
    Posted 1 year ago #

    You guys really should check your plugin out with debug mode turned on, lots of php warnings and notices.

    Also, after doing a bit of research on how to delete test orders, it seems that officially, the only way is to go in and manually remove orders from the database using phpMyAdmin, etc.

    However, 7 months ago, Aaron did mention that he's added this to my todo list for features.

    That being said, we went ahead and fixed many of the php issues (mostly verifying that variables exist before checking their values) and added the ability to delete orders. Not just from the wp_post table, but also all related wp_post_meta entries for the order. Even though Aaron worries that deleting orders may

    seem way too dangerous to include in the admin area
    we feel it's kind of a basic feature and quite safe for adults who employ reason and cognitive thinking skills.

    Hopefully Aaron or someone from WPMU can chime in as to the best method for us to submit our improvements on the lite-version of your MarketPress plugin.

    http://wordpress.org/extend/plugins/wordpress-ecommerce/

  2. Baden
    Member
    Posted 1 year ago #

    Updated plugin with ability to delete orders is available here.

  3. waila7
    Member
    Posted 1 year ago #

    Baden, thanks for updates.

    In 2.5.1 version there are issue with emptying a cart. It throws:
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\test\wp-admin\includes\plugin.php on line 1286

    I saw it happens then I'm not logged in (shop visitor). When I'm logging in wp backend - where is no errors.

    Just asking it is fix your update 2.5.2? If not, maybe you have any ideas where to start to fix this issue? I tried to clean cookies, but no luck.

  4. waila7
    Member
    Posted 1 year ago #

    I will make fresh install 2.5.2 later and will try..

  5. PC - WPMU DEV
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hello Braden,

    Hopefully Aaron or someone from WPMU can chime in as to the best method for us to submit our improvements on the lite-version of your MarketPress plugin.

    Thanks for asking this :)

    You can send your improvements to us via our contact form and we would be glad to forward them to the lead developer Aaron.

    You can also email us on contact at wpmudev dot org

    Cheers, PC

  6. waila7
    Member
    Posted 1 year ago #

    Hey,

    It was my mistake for:

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\test\wp-admin\includes\plugin.php on line 1286

    error.

    In functions.php I used

    add_action( 'admin_init', 'delete_menu_items' );

    instead of

    add_action( 'admin_menu', 'delete_menu_items' );

    it is not related with marketpress :)

  7. Aaron
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi there, just to note we're at version 2.8.2 in the premium version which already has fixes for all these.

    We'll be updating the lite version to 2.8.2 very soon.

  8. waila7
    Member
    Posted 1 year ago #

    Hey, Aaron,

    Great news. "very soon" has any particular date? :)
    Can we already see a changelog just to be prepared for upgrade.

    Thanks

  9. Baden
    Member
    Posted 1 year ago #

    Pfhhhh... hook'em aggies

  10. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    @waila7

    As soon as i get a date and changelist from Aaron I will post it here.

    Cheers

    Tom

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic