• Resolved mkovcu

    (@mkovcu)


    Hello,
    We have urgent issue as vendors cannot see cancellations, all settings are checked, tried with fixes i found on forums (add_filter( 'wcfm_is_allow_repair_order_item', '__return_true' );) nothing works.
    Is there anything else I can check?

    We also have lifetime licence for all your products, please help.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WC Lovers

    (@wclovers)

    We have urgent issue as vendors cannot see cancellations,

    Are you referring cancelled orders?

    Thread Starter mkovcu

    (@mkovcu)

    Yes

    use this code snippet

    add_filter( 'wcfmmp_is_allow_show_trashed_orders', '__return_true' );
    add_filter( 'wcfmmp_order_query', function( $sql ) {
    	$sql = str_replace( ' AND is_trashed = 0', '', $sql );
    	return $sql;
    }, 50 );
    • This reply was modified 3 years, 7 months ago by svmkmt.
    • This reply was modified 3 years, 7 months ago by svmkmt.
    Thread Starter mkovcu

    (@mkovcu)

    Thanks @svmkmt, I figured it out similarly, this way it also shows link in header:

    add_filter( 'wcfmmp_is_allow_show_trashed_orders', '__return_true', 50 );
    
    add_filter( 'wcfmu_orders_menus', function( $wcfmu_orders_menus ) {
      if(wcfm_is_vendor()) {
          $wcfmu_orders_menus['cancelled'] = 'Storniert/Abgebrochen';
      }
    
      return $wcfmu_orders_menus;
    }, 100 );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Urgent – Vendors cannot see cancellations’ is closed to new replies.