Bill from and Ship from the Administrator Account and not from Vendors

Hello dears,



what I’m trying to do it to change the billing and shipping information from the Vendor data (his name, address, phone, etc) to the Store Administrator data.



So when a user buys a product from vendor X he get the billing and shipping just from me, the store administrator, and NOT from vendor X.



Does anybody know how to do this?



Thank you, Massimo

i also want to khow this.... i want to hide order list from Vendors dashboard...........

Try open the app/Tygh/Shippings/RealtimeServices.php and replace:

        if (empty($company_id) || fn_allowed_for('ULTIMATE')) {
            $data = array(
                'name' => Registry::get('settings.Company.company_name'),
                'address' => Registry::get('settings.Company.company_address'),
                'city' => Registry::get('settings.Company.company_city'),
                'country' => Registry::get('settings.Company.company_country'),
                'state' => Registry::get('settings.Company.company_state'),
                'zipcode' => Registry::get('settings.Company.company_zipcode'),
                'phone' => Registry::get('settings.Company.company_phone'),
                'fax' => Registry::get('settings.Company.company_fax'),
            );
        } else {
            $company_data = fn_get_company_data($company_id);
            $data = array(
                'name' => $company_data['company'],
                'address' => $company_data['address'],
                'city' => $company_data['city'],
                'country' => $company_data['country'],
                'state' => $company_data['state'],
                'zipcode' => $company_data['zipcode'],
                'phone' => $company_data['phone'],
                'fax' => $company_data['fax'],
            );
        }

with

            $data = array(
                'name' => Registry::get('settings.Company.company_name'),
                'address' => Registry::get('settings.Company.company_address'),
                'city' => Registry::get('settings.Company.company_city'),
                'country' => Registry::get('settings.Company.company_country'),
                'state' => Registry::get('settings.Company.company_state'),
                'zipcode' => Registry::get('settings.Company.company_zipcode'),
                'phone' => Registry::get('settings.Company.company_phone'),
                'fax' => Registry::get('settings.Company.company_fax'),
            );

(!) Not tested

will give that a try