Set the email to receive orders different from that of the joomla admin

Started by mgworld, August 04, 2015, 20:04:47 PM

Previous topic - Next topic

mgworld

Hi, from what I understood, the emails for the received orders are sent to the mail address specified in the Shop section of Virtuemart. This address refers to the main vendor of the site, that in a single-vendor default configuration is the superadmin user (an user in the "Super Users" group) of joomla.

In my scenario, I have a superuser that is the webmaster of the site, and a shopmanager user that manages only the relevant virtuemart options. Now, I would like that the emails for the received orders would be sent only to my shopmanager user (not superuser) and not to the webmaster (superuser). How can I do that?

P.S.: I'm sorry if this question was already posted somewhere in the forum... I tried to search for it, but I only found some posts in which some users suggested to edit manually the db ("xxx_virtuemart_vmusers" table) to force the vendor to be another user (placing "1" on the field "user_is_vendor" for the user I would like to receive the email orders and "0" to all the others) but I'm scared to do that on a production site... Is this really the only way? And is it safe?

Virtuemart version: 3.0.9.4
Joomla version: 3.4.3

Studio 42

Hi,
Go to yoursite/administrator/index.php?option=com_virtuemart&view=updatesmigration
tab >smigration
last settings
>Write here the new store owner id and click set store owner

Warning, you have chance, the user get blocked, Then revert back to superuser, if this is the case !
Note: the id to use is the joomla user id

mgworld

I've done as you said and it appears to work all right. Now the emails are sent to my shopmanager user, instead of the superuser.
Thank you very much! :)