We are currently seeing a very high volume of tickets, and in some cases it may take up to 72 hours until we can address a ticket. We apologize for the inconvenience. Thank you for your patience and understanding. 

  Public Ticket #3128921
upload size limit


  • patrickwbass started the conversation

    My PHP settings are at https://made2buy.com/phpinfo.php and from the admin console, I can upload files according to the size limits defined in the php ini.  However, via the MarketKing dashboard, vendors are limited to uploads in the size of about 977kb.  How can I increase this limit?

  •  766
    WebWizards replied

    Hi there,

    Indeed, by default this limit is set to 1000000 b, which I guess is 977kb,

    This limit can be changed through the following code snippet:

    add_filter('marketking_vendor_upload_file_size', function($val){
        return 1000000;
    }, 10, 1);

    You can change this value to anything you want in the above code. The snippet can be added to functions.php or through any snippets plugin.

    Kind regards,