Temporary Remove Option To Add Products In Multi-Vendor

can we remove the option of uploading products for vendors temporarily. We are upgrading our servers and dont want any issues related to data ( sync ) later on.

Disable their account while you​ close the store and make your move.

Rename the vendor.php file in the core of CS-Cart installation :)

We dont want to stop other operations since most of them are db centric and can be easily done by db backup and restore , the issue which we are facing is that the vendors update products on daily basis - 300 + / day.

If we some how remove this functionality for time being then we can easily transfer our servers and then restore the functionality , this will help us in not loosing any revenue

We dont want to stop other operations since most of them are db centric and can be easily done by db backup and restore , the issue which we are facing is that the vendors update products on daily basis - 300 + / day.

If we some how remove this functionality for time being then we can easily transfer our servers and then restore the functionality , this will help us in not loosing any revenue

app/schemas/permissions/vendor_multivendor.php

change

        'products' => array (
            'modes' => array(
            ),
            'permissions' => true,
        ),

to

        'products' => array (
            'modes' => array(
            ),
            'permissions' => false,
        ),

and

    'import' => array(
        'sections' => array(
            'translations' => array(
                'permission' => false,
            ),
            'orders' => array(
                'permission' => false,
            ),
            'users' => array(
                'permission' => false,
            ),
            'features' => array(
                'permission' => false,
            ),
        ),
        'patterns' => array(
        ),
    ),

to

    'import' => array(
        'sections' => array(
            'translations' => array(
                'permission' => false,
            ),
            'orders' => array(
                'permission' => false,
            ),
            'users' => array(
                'permission' => false,
            ),
            'features' => array(
                'permission' => false,
            ),
            'products' => array(
                'permission' => false,
            ),
        ),
        'patterns' => array(
        ),
    ),

Then clear cache and check

it works thanks ecom

it works thanks ecom

You are welcome!