Vendors can’t upload images to products. What to do?

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 WCFM – Groups & Staffs Vendors can’t upload images to products. What to do?

Viewing 0 reply threads
  • Author
    Posts
    • #139585
      Avatarfrdalizade
      Participant

      Hi,

      Please help about this issue: Vendors (Memberships) can’t upload images to products. “An error occurred while loading. Please check again later.”

      function allow_vendors_media_uploads() {
      $vendor_role = get_role(‘seller’);

      // Ensure Vendors Media Upload Capability
      $vendor_role->add_cap(‘edit_posts’);
      $vendor_role->add_cap(‘edit_post’);
      $vendor_role->add_cap(‘edit_others_posts’);
      $vendor_role->add_cap(‘edit_others_pages’);
      $vendor_role->add_cap(‘edit_published_posts’);
      $vendor_role->add_cap(‘edit_published_pages’);
      $vendor_role->add_cap( ‘upload_files’ );
      }
      add_action( ‘init’, ‘allow_vendors_media_uploads’ );

      This code also not helped..

Viewing 0 reply threads
  • You must be logged in to reply to this topic.