VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: Neesupermario on August 15, 2018, 15:27:42 pm

Title: ask a question for multi-vendors
Post by: Neesupermario on August 15, 2018, 15:27:42 pm
How can I make sure that when sending a question about a product, the message was received not only by the administrator, but also by the user who posted the products?
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 17, 2018, 10:13:29 am
Nobody can help?
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 17, 2018, 15:28:16 pm
PLZ  HELP!!!!!!
Title: Re: ask a question for multi-vendors
Post by: jenkinhill on August 17, 2018, 15:40:27 pm
Hmmmm -  http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 17, 2018, 17:10:01 pm
My question is not clear?
Title: Re: ask a question for multi-vendors
Post by: Studio 42 on August 17, 2018, 18:10:31 pm
My question is not clear?
It's clear, do a test and check if you get the email.
How can you be sure, if the user give a bad email, you know only after a time(and not always) that the message was send or not.
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 20, 2018, 10:02:20 am
My question is not clear?
It's clear, do a test and check if you get the email.
How can you be sure, if the user give a bad email, you know only after a time(and not always) that the message was send or not.

Messages come only to the administrator! To the seller (to that who has laid out the goods on a site they do not come) How it to adjust, through the form "Ask a question about this product" ??

(Mail is indicated correctly)
Title: Re: ask a question for multi-vendors
Post by: Studio 42 on August 20, 2018, 12:35:38 pm
I think that you cannot send to user the email, only vendor get the mail.
If you need to send email to user you have to do a plugin and call function plgVmOnAskQuestion
This can be a system, vmextended or userfield plugin.
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 20, 2018, 16:36:36 pm
I think that you cannot send to user the email, only vendor get the mail.
If you need to send email to user you have to do a plugin and call function plgVmOnAskQuestion
This can be a system, vmextended or userfield plugin.

and through the ask question this can not be done?
Title: Re: ask a question for multi-vendors
Post by: Neesupermario on August 20, 2018, 16:42:36 pm
I thought there is the possibility of adding code to the standard "ASK A QUESTION" , that he would determine the seller's mail and send him a notification.
Title: Re: ask a question for multi-vendors
Post by: Studio 42 on August 21, 2018, 00:45:24 am
I answered you how to do it right.
You can of course call Joomla mailer and send an email to him. You have many way to do this, i only tried to give you the best way(but  not the fastest).