Vendors (Memberships) can’t upload images to products.

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 Product Vendors Vendors (Memberships) can’t upload images to products.

Viewing 0 reply threads
  • Author
    Posts
    • #133285
      aileen
      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.