Delete\Cancel orders from vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace Delete\Cancel orders from vendor dashboard

Viewing 1 reply thread
  • Author
    Posts
    • #123763
      beezley
      Participant

      Can orders be cancelled or deleted from the vendors dashboard. Appears the status can only be marked as pending payment, on hold, processing or completed.

      I see I can delete orders from the wordpress back-end dashboard, but would like the vendors to have this capability on their vendor dashboard.

    • #124204
      Sushobhan
      Keymaster

      Hi,
      Technically it’s possible if you have WCFM Ultimate. Though we highly encourage not to do that, as a single order contain items from more than one vendor. If any of the vendor deletes the order, that means the other vendor will also loose the sale.
      But, if you only allow single vendors products in a order then you can enable this feature (Ultimate is required) by adding the following lines of code-

      add_filter( 'wcfm_is_allow_order_delete', '__return_true' );
      add_filter( 'wcfm_is_allow_vendor_order_delete', '__return_true' );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
      Let me know how this goes.
      Thanks!

Viewing 1 reply thread
  • You must be logged in to reply to this topic.