• Resolved Mikey

    (@mikeyhash)


    Hi,

    If I decide to deactivate the plugin, the msrp meta does not get deleted from database.

    Besides an sql query to delete, is there any other way?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @mikeyhash,

    Thanks for pointing this out. Already adding this in plugin’s development version. How would you prefer to delete MSRP meta – automatically on plugin uninstall or manually by pressing some button in plugin’s settings?

    Thread Starter Mikey

    (@mikeyhash)

    Hi,

    Dunno, both seem ok. But maybe manually (with an “Are you sure?” pop-up ?? ) would be nicer.

    Also, I haven’t tested this yet but, if I delete a product, does the msrp still remain in postmeta for that specific deleted product? If yes, then you should also try to add removal of meta upon deletion of product. Or at least a button in settings, something like “Remove database records of deleted products”?

    Personally, I run a marketplace and I constantly add new unique products and delete some after a certain time has passed since they were sold. Thus removal of meta upon deletion of product would be quite necessary in my case, for the best database performance.

    Thank you.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @mikeyhash,

    As promised we’ve just released new plugin v1.3.4. After the update you will find new “Delete all products MSRP meta” button in plugin’s admin settings (in “WooCommerce > Settings > MSRP”). It’s with “Are you sure” confirmation ??

    I’ve also added standard cleanup on plugin uninstall.

    Regarding deleting MSRP meta on product delete: I’ve just rechecked – it’s done automatically by WordPress.

    Please let me know if something is not working as expected or if you have any more ideas on how to make the plugin better.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MSRP meta in postmeta table’ is closed to new replies.